CogniCity Server /reports/archive data model
(require("src/api/reports/archive/model"))(config, db, logger) → {Object}
Interact with historic report objects
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Server configuration |
db |
Object | PG Promise database instance |
logger |
Object | Configured Winston logger instance |
Returns:
Query methods
- Type
- Object