Class: AsyncSQLClient

vertx-mysql-postgresql-js/async_sql_client~ AsyncSQLClient

new AsyncSQLClient()

Represents an asynchronous SQL client
Source:

Methods

close(arg0)

Parameters:
Name Type Description
arg0 function
Source:

getConnection(arg0) → {SQLClient}

Parameters:
Name Type Description
arg0 function
Source:
Returns:
Type
SQLClient

query(sql, handler) → {SQLClient}

Parameters:
Name Type Description
sql string
handler function
Source:
Returns:
Type
SQLClient

querySingle(sql, handler) → {SQLOperations}

Parameters:
Name Type Description
sql string
handler function
Source:
Returns:
Type
SQLOperations

querySingleWithParams(sql, arguments, handler) → {SQLOperations}

Parameters:
Name Type Description
sql string
arguments todo
handler function
Source:
Returns:
Type
SQLOperations

queryWithParams(sql, arguments, handler) → {SQLClient}

Parameters:
Name Type Description
sql string
arguments todo
handler function
Source:
Returns:
Type
SQLClient

update(sql, handler) → {SQLClient}

Parameters:
Name Type Description
sql string
handler function
Source:
Returns:
Type
SQLClient

updateWithParams(sql, params, handler) → {SQLClient}

Parameters:
Name Type Description
sql string
params todo
handler function
Source:
Returns:
Type
SQLClient