Google Cloud Oracle Database V1 Client - Class SqlResult (0.15.0)

Reference documentation and code samples for the Google Cloud Oracle Database V1 Client class SqlResult.

SqlResult represents the result for the execution of a sql statement.

Generated from protobuf message google.cloud.oracledatabase.v1.SqlResult

Namespace

Google \ Cloud \ OracleDatabase \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ columns array<SqlResult\Column>

List of columns included in the result, including data type.

↳ rows array<SqlResult\Row>

Rows returned by the SQL statement.

getColumns

List of columns included in the result, including data type.

Returns
Type Description
Google\Protobuf\RepeatedField<SqlResult\Column>

setColumns

List of columns included in the result, including data type.

Parameter
Name Description
var array<SqlResult\Column>
Returns
Type Description
$this

getRows

Rows returned by the SQL statement.

Returns
Type Description
Google\Protobuf\RepeatedField<SqlResult\Row>

setRows

Rows returned by the SQL statement.

Parameter
Name Description
var array<SqlResult\Row>
Returns
Type Description
$this