Google Cloud Sql Admin V1 Client - Class SqlInstancesExecuteSqlResponse (1.9.0)

Reference documentation and code samples for the Google Cloud Sql Admin V1 Client class SqlInstancesExecuteSqlResponse.

Execute SQL statements response.

Generated from protobuf message google.cloud.sql.v1.SqlInstancesExecuteSqlResponse

Namespace

Google \ Cloud \ Sql \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ messages
array< SqlInstancesExecuteSqlResponse\Message >

A list of notices and warnings generated during query execution. For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, SHOW WARNINGS must be executed after each statement.

↳ metadata
Metadata

The additional metadata information regarding the execution of the SQL statements.

↳ results
array< QueryResult >

The list of results after executing all the SQL statements.

↳ status
Google\Rpc\Status

Contains the error from the database if the SQL execution failed.

getMessages

A list of notices and warnings generated during query execution.

For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, SHOW WARNINGS must be executed after each statement.

setMessages

A list of notices and warnings generated during query execution.

For PostgreSQL, this includes all notices and warnings. For MySQL, this includes warnings generated by the last executed statement. To retrieve all warnings for a multi-statement query, SHOW WARNINGS must be executed after each statement.

Parameter
Name
Description
Returns
Type
Description
$this

The additional metadata information regarding the execution of the SQL statements.

Returns
Type
Description
Metadata |null

The additional metadata information regarding the execution of the SQL statements.

Parameter
Name
Description
var
Returns
Type
Description
$this

getResults

The list of results after executing all the SQL statements.

Returns
Type
Description

setResults

The list of results after executing all the SQL statements.

Parameter
Name
Description
var
array< QueryResult >
Returns
Type
Description
$this

getStatus

Contains the error from the database if the SQL execution failed.

Returns
Type
Description

hasStatus

clearStatus

setStatus

Contains the error from the database if the SQL execution failed.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: