You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, all db operations happen inline embedded within application logic. Create a data layer with common db operations on every model/entity and use these appropriately in the application layer.
Example directory structure:
data
- member.ts
- message.ts
- ...
member.ts(and others) should have get, update, delete functions
The text was updated successfully, but these errors were encountered:
Currently, all db operations happen inline embedded within application logic. Create a data layer with common db operations on every model/entity and use these appropriately in the application layer.
Example directory structure:
member.ts
(and others) should haveget
,update
,delete
functionsThe text was updated successfully, but these errors were encountered: