UpdateResult

Represents the result of an update/insert/delete operation on the database.

The number of rows updated is available with @see \io\vertx\jphp\ext\sql\UpdateResult and any generated keys are available with @see \io\vertx\jphp\ext\sql\UpdateResult.

package

Default

Methods

UpdateResult constructor

__construct( $updateResult = null) 

Arguments

$updateResult

mixed | null

getKeys

getKeys() : array

Response

array

getUpdated

getUpdated() : integer

Response

integer

setKeys

setKeys( $keys) : $this

Arguments

$keys

array

Response

$this

setUpdated

setUpdated( $updated) : $this

Arguments

$updated

integer

Response

$this