Methods
connectHandler
- connectHandler(handler: ((res: SqlConnection) => void) | Handler<SqlConnection>): MSSQLPool
-
Parameters
-
handler: ((res: SqlConnection) => void) | Handler<SqlConnection>
connectionProvider
- connectionProvider(provider: (arg: Context) => PromiseLike<SqlConnection>): MSSQLPool
-
Parameters
-
provider: (arg: Context) => PromiseLike<SqlConnection>
-
- (arg: Context): PromiseLike<SqlConnection>
-
Parameters
Returns PromiseLike<SqlConnection>
Static pool
- pool(connectionUri: string): MSSQLPool
- pool(connectionUri: string, options: PoolOptions): MSSQLPool
- pool(vertx: Vertx, connectionUri: string): MSSQLPool
- pool(vertx: Vertx, connectionUri: string, options: PoolOptions): MSSQLPool
- pool(database: MSSQLConnectOptions, options: PoolOptions): MSSQLPool
- pool(vertx: Vertx, database: MSSQLConnectOptions, options: PoolOptions): MSSQLPool
- pool(databases: MSSQLConnectOptions, options: PoolOptions): MSSQLPool
- pool(vertx: Vertx, databases: MSSQLConnectOptions, options: PoolOptions): MSSQLPool
- pool(databases: any, options: PoolOptions): MSSQLPool
- pool(vertx: Vertx, databases: any, options: PoolOptions): MSSQLPool
-
Parameters
-
Parameters
-
connectionUri: string
-
options: PoolOptions
-
Parameters
-
vertx: Vertx
-
connectionUri: string
-
Parameters
-
vertx: Vertx
-
connectionUri: string
-
options: PoolOptions
-
Parameters
-
Parameters
-
vertx: Vertx
-
-
options: PoolOptions
-
Parameters
-
Parameters
-
vertx: Vertx
-
-
options: PoolOptions
-
Parameters
-
databases: any
-
options: PoolOptions
-
Parameters
-
vertx: Vertx
-
databases: any
-
options: PoolOptions
A of [SQL Server connections] MSSQLConnection.