CogniCity Server /cards data model
(require("src/api/cards/model"))(config, db, logger) → {Object}
Database interaction for Cards objects
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Server configuration |
db |
Object | PG Promise database instance |
logger |
Object | Configured Winston logger instance |
- Source:
Returns:
data Query methods
- Type
- Object
- Source: