Module: src/api/infrastructure/model

CogniCity Server /infrastructure data model

(require("src/api/infrastructure/model"))(config, db, logger) → {Object}

Methods to get infrastructure layers from 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: