new SqlPool(options, defaults)
- Description:
Create a database pool for SQL like databases, see dbPool
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object | an object defining the pool, the following properties define the pool: Properties
|
||||||||||||
defaults |
object | an object with default pool methods for init and shutdown and other properties, see Pool |