A prepared query.
| package |
Default |
|---|
__construct()
batch( $arg0, $arg1) : $this
array
callable
$thisthe createBatch
close( $arg0 = null) : void
close()
Like @see \io\vertx\jphp\sqlclient\PreparedQuery::close but notifies the completionHandler when it's closed.
param $completionHandler [callable] close($completionHandler)
callable
createStream( $arg0, $arg1) : \io\vertx\jphp\sqlclient\RowStream<Row>
Note: this requires to be in a transaction, since cursors require it.
integer
Tuple
\io\vertx\jphp\sqlclient\RowStream|
the createStream
cursor( $arg0 = null) : \io\vertx\jphp\sqlclient\Cursor
Create a cursor with the provided arguments.
param $args [Tuple] the list of arguments cursor($args)
Tuple
\io\vertx\jphp\sqlclient\Cursorcreate a query cursor with a {@code fetch} size and empty arguments
execute( $arg0, $arg1 = null) : $this
param $handler [callable] execute($handler)
Create a cursor with the provided arguments.
param $args [Tuple] the list of arguments param $handler [callable] execute($args, $handler)
callable | Tuple
callable
$this