lackey-cms/datasources

Got to top

lackey-cms/datasources~DataSourcesManager

Kind: inner class of lackey-cms/datasources

dataSourcesManager.connect(config) ⇒ Promise

Connects to datasources

Kind: instance method of DataSourcesManager

Param Type
config DBConfigObject

dataSourcesManager.get(provider, connectionName) ⇒ mixed | null

Gets connection object

Kind: instance method of DataSourcesManager

Param Type
provider string
connectionName string

dataSourcesManager.set(provider, connectionName, connection) ⇒ object

Sets connection object

Kind: instance method of DataSourcesManager
Returns: object - given connection

Param Type
provider string
connectionName string
connection object

dataSourcesManager._connectPostgreses(connections) ⇒ Promise

Connects to PostgreSQL

Kind: instance method of DataSourcesManager

Param Type
connections Hash.<String, PGDBConfig>

dataSourcesManager._connectPostgres(connectionName, config) ⇒ Promise

Connects to PG

Kind: instance method of DataSourcesManager

Param Type
connectionName string
config PGDBConfig

lackey-cms/datasources~PgConfig : Object

PG Config Object

Kind: inner typedef of lackey-cms/datasources
Properties

Name Type
dsn string

lackey-cms/datasources~DBConfigObject : Object

Config Object

Kind: inner typedef of lackey-cms/datasources
Properties

Name Type
pg Hash.<String, PgConfig>

Generated with gulp-jsdoc-to-markdown and roadmarks. © Enigma Marketing Services 2016

results matching ""

    No results matching ""