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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#column_metadataArray<Types::ColumnMetadata>

Metadata for the columns included in the results.

Returns:



589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 589

class ExecuteStatementResponse < Struct.new(
  :column_metadata,
  :generated_fields,
  :number_of_records_updated,
  :records)
  SENSITIVE = []
  include Aws::Structure
end

#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:



589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 589

class ExecuteStatementResponse < Struct.new(
  :column_metadata,
  :generated_fields,
  :number_of_records_updated,
  :records)
  SENSITIVE = []
  include Aws::Structure
end

#number_of_records_updatedInteger

The number of records updated by the request.

Returns:

  • (Integer)


589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 589

class ExecuteStatementResponse < Struct.new(
  :column_metadata,
  :generated_fields,
  :number_of_records_updated,
  :records)
  SENSITIVE = []
  include Aws::Structure
end

#recordsArray<Array<Types::Field>>

The records returned by the SQL statement.

Returns:



589
590
591
592
593
594
595
596
# File 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 589

class ExecuteStatementResponse < Struct.new(
  :column_metadata,
  :generated_fields,
  :number_of_records_updated,
  :records)
  SENSITIVE = []
  include Aws::Structure
end