AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Class: Aws::RDSDataService::Types::ResultSetOptions

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

Overview

Note:

When passing ResultSetOptions as input to an Aws::Client method, you can use a vanilla Hash:

{
  decimal_return_type: "DOUBLE_OR_LONG", # accepts DOUBLE_OR_LONG, STRING
}

Options that control how the result set is returned.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#decimal_return_typeString

A value that indicates how a field of DECIMAL type is represented in the response. The value of STRING, the default, specifies that it is converted to a String value. The value of DOUBLE_OR_LONG specifies that it is converted to a Long value if its scale is 0, or to a Double value otherwise.

Conversion to Double or Long can result in roundoff errors due to precision loss. We recommend converting to String, especially when working with currency values.

Possible values:

  • DOUBLE_OR_LONG
  • STRING

Returns:

  • (String)

    A value that indicates how a field of DECIMAL type is represented in the response.