Skip to content

Connection

Seth Tippetts edited this page Feb 16, 2016 · 3 revisions

Connection class is used internally to manage factory method, and argument length when called. Exposed if you want to do magic custom things.

Methods

constructor(name, factory)

Creates a new Connection instance with the name, arguments supplied and a connection factory method

Arguments

name String Connection name

factory Function Method for creating new tenanted connections

factory(configuration)

Creates a new connection with the connection factory and passed configuration

Arguments

configuration Object Tenanted configuration

Properties

name

Name of the connection