CogniCity Server /floods data model
(require("src/api/floods/model"))(config, db, logger) → {Object}
Methods to interact with flood layers in database
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | Server configuration |
db |
Object | PG Promise database instance |
logger |
Object | Configured Winston logger instance |
- Source:
Returns:
Query methods
- Type
- Object
- Source: