Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class ExecuteSqlResponse.
Execute a SQL statement response.
Generated from protobuf message google.cloud.alloydb.v1.ExecuteSqlResponse
Namespace
Google \ Cloud \ AlloyDb \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ sql_results |
array<SqlResult>
SqlResult represents the results for the execution of sql statements. |
↳ metadata |
ExecuteSqlMetadata
Any additional metadata information regarding the execution of the sql statement. |
getSqlResults
SqlResult represents the results for the execution of sql statements.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setSqlResults
SqlResult represents the results for the execution of sql statements.
Parameter | |
---|---|
Name | Description |
var |
array<SqlResult>
|
Returns | |
---|---|
Type | Description |
$this |
getMetadata
Any additional metadata information regarding the execution of the sql statement.
Returns | |
---|---|
Type | Description |
ExecuteSqlMetadata|null |
hasMetadata
clearMetadata
setMetadata
Any additional metadata information regarding the execution of the sql statement.
Parameter | |
---|---|
Name | Description |
var |
ExecuteSqlMetadata
|
Returns | |
---|---|
Type | Description |
$this |