RowSet

A set of rows.

package

Default

Methods

__construct

__construct() 

Get the names of columns in the PgResult.

columnsNames() : array

Response

array

the list of names of columns.

iterator

iterator() : \io\vertx\jphp\sqlclient\RowIterator

next

next() : \io\vertx\jphp\sqlclient\RowSet

Get the number of the affected rows in the operation to this PgResult.

rowCount() : integer

The meaning depends on the executed statement:

  • INSERT: the number of rows inserted
  • DELETE: the number of rows deleted
  • UPDATE: the number of rows updated
  • SELECT: the number of rows retrieved

Response

integer

the count of affected rows.

Get the number of rows in the PgResult.

size() : integer

Response

integer

the count of rows.

Get the result value.

value() : \io\vertx\jphp\sqlclient\RowSet

Response

\io\vertx\jphp\sqlclient\RowSet

the result