You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::RDSDataService::Types::ExecuteStatementResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

The response elements represent the output of a request to run a SQL statement against a database.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#column_metadataArray<Types::ColumnMetadata>

Metadata for the columns included in the results.

Returns:

#generated_fieldsArray<Types::Field>

Values for fields generated during the request.

 <note> <p>The <code>generatedFields</code> data isn't supported by Aurora PostgreSQL. To get the values of generated fields, use the <code>RETURNING</code> clause. For more information, see <a href="https://www.postgresql.org/docs/10/dml-returning.html">Returning Data From Modified Rows</a> in the PostgreSQL documentation.</p> </note>

Returns:

  • (Array<Types::Field>)

    Values for fields generated during the request.

#number_of_records_updatedInteger

The number of records updated by the request.

Returns:

  • (Integer)

    The number of records updated by the request.

#recordsArray<Array<Types::Field>>

The records returned by the SQL statement.

Returns:

  • (Array<Array<Types::Field>>)

    The records returned by the SQL statement.