A connection to database server.
| package |
Default |
|---|
__construct()
begin() : \io\vertx\jphp\sqlclient\Transaction
When the connection is explicitely closed, any inflight transaction is rollbacked.
\io\vertx\jphp\sqlclient\Transactionthe transaction instance
close() : void
closeHandler( $arg0) : $this
callable
$thisa reference to this, so the API can be used fluently
exceptionHandler( $arg0) : $this
callable
$thisa reference to this, so the API can be used fluently
isSSL() : boolean
booleanwhether the connection uses SSL
prepare( $arg0, $arg1) : $this
string
callable
$this
preparedBatch( $arg0, $arg1, $arg2) : $this
string
array
callable
$this
preparedQuery( $arg0, $arg1, $arg2 = null) : $this
param $sql [string] param $arguments [Tuple] param $handler [callable] preparedQuery($sql, $arguments, $handler)
string
callable | Tuple
callable
$this
query( $arg0, $arg1) : $this
string
callable
$this