new SQLClient()
A common asynchronous client interface for interacting with SQL compliant database
- Source:
Methods
close(completionHandler)
Close the client and release all resources.
Call the handler when close is complete.
Parameters:
Name | Type | Description |
---|---|---|
completionHandler |
function | the handler that will be called when close is complete |
- Source:
getConnection(handler) → {SQLClient}
Returns a connection that can be used to perform SQL operations on. It's important to remember
to close the connection when you are done, so it is returned to the pool.
Parameters:
Name | Type | Description |
---|---|---|
handler |
function | the handler which is called when the JdbcConnection object is ready for use. |
- Source:
Returns:
- Type
- SQLClient