Class: AsyncSQLClient

vertx-mysql-postgresql-js/async_sql_client~ AsyncSQLClient

new AsyncSQLClient()

Represents an asynchronous SQL client
Source:

Methods

close(whenDone)

Close the client and release all resources. Call the handler when close is complete.
Parameters:
Name Type Description
whenDone function handler that will be called when close is complete
Source:

getConnection(handler)

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: