An asynchronous client interface for interacting with a JDBC compliant database

  • JDBCClient
    • SQLClient
      • Basic
        • Identifiable
        • Object
          • Anything
      • SQLOperations

no subtypes hierarchy

Initializer
JDBCClient(JDBCClient unknown)
Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
querySingleshared actual default SQLOperations querySingle(String sql, Anything(Throwable|Array) handler)

Execute a one shot SQL statement that returns a single SQL row. This method will reduce the boilerplate code by getting a connection from the pool (this object) and return it back after the execution. Only the first result from the result set is returned.

Parameters:
  • sql

    the statement to execute

  • handler

    the result handler

Refines SQLClient.querySingle ultimately refines SQLOperations.querySingle
querySingleWithParamsshared actual default SQLOperations querySingleWithParams(String sql, Array arguments, Anything(Throwable|Array) handler)

Execute a one shot SQL statement with arguments that returns a single SQL row. This method will reduce the boilerplate code by getting a connection from the pool (this object) and return it back after the execution. Only the first result from the result set is returned.

Parameters:
  • sql

    the statement to execute

  • arguments

    the arguments

  • handler

    the result handler

Refines SQLClient.querySingleWithParams ultimately refines SQLOperations.querySingleWithParams
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: SQLClient
call, callWithParams, close, getConnection, query, querySingle, querySingleWithParams, queryWithParams, update, updateWithParams