Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class QueryResult.
QueryResult contains the result of executing a single SQL statement.
Generated from protobuf message google.cloud.sql.v1.QueryResult
Namespace
Google \ Cloud \ Sql \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ columns
array< Column
>
List of columns included in the result. This also includes the data type of the column.
↳ rows
↳ message
string
Message related to the SQL execution result.
↳ partial_result
bool
Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.
↳ status
getColumns
List of columns included in the result. This also includes the data type of the column.
setColumns
List of columns included in the result. This also includes the data type of the column.
$this
getRows
Rows returned by the SQL statement.
setRows
Rows returned by the SQL statement.
$this
getMessage
Message related to the SQL execution result.
string
setMessage
Message related to the SQL execution result.
var
string
$this
getPartialResult
Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.
bool
setPartialResult
Set to true if the SQL execution's result is truncated due to size limits or an error retrieving results.
var
bool
$this
getStatus
If results were truncated due to an error, details of that error.
hasStatus
clearStatus
setStatus
If results were truncated due to an error, details of that error.
$this

