Batch simple SQL strings and execute the batch where the async result contains a array of Integers.
Batch simple SQL strings and execute the batch where the async result contains a array of Integers.
Batch a callable statement with all entries from the args list. Each entry is a batch. The size of the lists inArgs and outArgs MUST be the equal. The operation completes with the execution of the batch where the async result contains a array of Integers.
Batch a callable statement with all entries from the args list. Each entry is a batch. The size of the lists inArgs and outArgs MUST be the equal. The operation completes with the execution of the batch where the async result contains a array of Integers.
Batch a prepared statement with all entries from the args list. Each entry is a batch. The operation completes with the execution of the batch where the async result contains a array of Integers.
Batch a prepared statement with all entries from the args list. Each entry is a batch. The operation completes with the execution of the batch where the async result contains a array of Integers.
Calls the given SQL PROCEDURE
which returns the result from the procedure.
Calls the given SQL PROCEDURE
which returns the result from the procedure.
Calls the given SQL PROCEDURE
which returns the result from the procedure.
The index of params and outputs are important for both arrays, for example when dealing with a prodecure that takes the first 2 arguments as input values and the 3 arg as an output then the arrays should be like:
params = [VALUE1, VALUE2, null] outputs = [null, null, "VARCHAR"]
Calls the given SQL PROCEDURE
which returns the result from the procedure.
The index of params and outputs are important for both arrays, for example when dealing with a prodecure that takes the first 2 arguments as input values and the 3 arg as an output then the arrays should be like:
params = [VALUE1, VALUE2, null] outputs = [null, null, "VARCHAR"]
Closes the connection. Important to always close the connection when you are done so it's returned to the pool.
Closes the connection. Important to always close the connection when you are done so it's returned to the pool.
Closes the connection. Important to always close the connection when you are done so it's returned to the pool.
Commits all changes made since the previous commit/rollback.
Commits all changes made since the previous commit/rollback.
Executes the given SQL statement
Executes the given SQL statement
Attempts to return the transaction isolation level for this Connection object to the one given.
Attempts to return the transaction isolation level for this Connection object to the one given.
Executes the given SQL SELECT
statement which returns the results of the query.
Executes the given SQL SELECT
statement which returns the results of the query.
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.
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.
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.
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.
Executes the given SQL SELECT
statement which returns the results of the query as a read stream.
Executes the given SQL SELECT
statement which returns the results of the query as a read stream.
Executes the given SQL SELECT
statement which returns the results of the query as a read stream.
Executes the given SQL SELECT
statement which returns the results of the query as a read stream.
Executes the given SQL SELECT
prepared statement which returns the results of the query.
Executes the given SQL SELECT
prepared statement which returns the results of the query.
Rolls back all changes made since the previous commit/rollback.
Rolls back all changes made since the previous commit/rollback.
Sets the auto commit flag for this connection. True by default.
Sets the auto commit flag for this connection. True by default.
Sets the desired options to be applied to the current connection when statements are executed.
The options are not applied globally but applicable to the current connection. For example changing the transaction isolation level will only affect statements run on this connection and not future or current connections acquired from the connection pool.
This method is not async in nature since the apply will only happen at the moment a query is run.
Sets a connection wide query timeout.
It can be over written at any time and becomes active on the next query call.
Attempts to change the transaction isolation level for this Connection object to the one given.
The constants defined in the interface Connection are the possible transaction isolation levels.
Attempts to change the transaction isolation level for this Connection object to the one given.
The constants defined in the interface Connection are the possible transaction isolation levels.
Executes the given SQL statement which may be an INSERT
, UPDATE
, or DELETE
statement.
Executes the given SQL statement which may be an INSERT
, UPDATE
, or DELETE
statement.
Executes the given prepared statement which may be an INSERT
, UPDATE
, or DELETE
statement with the given parameters
Executes the given prepared statement which may be an INSERT
, UPDATE
, or DELETE
statement with the given parameters
Generated using TypeDoc
Represents a connection to a SQL database