ResultSet

Represents the results of a SQL query.

It contains a list for the column names of the results, and a list of JsonArray - one for each row of the results.

package

Default

Methods

ResultSet constructor

__construct( $resultSet = null) 

Arguments

$resultSet

mixed | null

getColumnNames

getColumnNames() : array

Response

array

getNext

getNext() : \io\vertx\jphp\ext\sql\ResultSet

getNumColumns

getNumColumns() : integer

Response

integer

getNumRows

getNumRows() : integer

Response

integer

getOutput

getOutput() : array

Response

array

getResults

getResults() : array

Response

array

getRows

getRows() : array

Response

array

setColumnNames

setColumnNames( $columnNames) : $this

Arguments

$columnNames

string

Response

$this

setNext

setNext( $next) : $this

Arguments

$next

ResultSet|array

Response

$this

setOutput

setOutput( $output) : $this

Arguments

$output

array

Response

$this

setResults

setResults( $results) : $this

Arguments

$results

array

Response

$this