Class: Aws::RDSDataService::Types::SqlParameter
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDSDataService::Types::SqlParameter
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-rdsdataservice/types.rb
Overview
A parameter used in a SQL statement.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#name ⇒ String
The name of the parameter.
-
#type_hint ⇒ String
A hint that specifies the correct object type for data type mapping.
-
#value ⇒ Types::Field
The value of the parameter.
Instance Attribute Details
#name ⇒ String
The name of the parameter.
936 937 938 939 940 941 942 |
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 936 class SqlParameter < Struct.new( :name, :value, :type_hint) SENSITIVE = [] include Aws::Structure end |
#type_hint ⇒ String
A hint that specifies the correct object type for data type mapping. Possible values are as follows:
-
‘DATE` - The corresponding `String` parameter value is sent as an object of `DATE` type to the database. The accepted format is `YYYY-MM-DD`.
-
‘DECIMAL` - The corresponding `String` parameter value is sent as an object of `DECIMAL` type to the database.
-
‘JSON` - The corresponding `String` parameter value is sent as an object of `JSON` type to the database.
-
‘TIME` - The corresponding `String` parameter value is sent as an object of `TIME` type to the database. The accepted format is `HH:MM:SS`.
-
‘TIMESTAMP` - The corresponding `String` parameter value is sent as an object of `TIMESTAMP` type to the database. The accepted format is `YYYY-MM-DD HH:MM:SS`.
-
‘UUID` - The corresponding `String` parameter value is sent as an object of `UUID` type to the database.
936 937 938 939 940 941 942 |
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 936 class SqlParameter < Struct.new( :name, :value, :type_hint) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Types::Field
The value of the parameter.
936 937 938 939 940 941 942 |
# File 'lib/aws-sdk-rdsdataservice/types.rb', line 936 class SqlParameter < Struct.new( :name, :value, :type_hint) SENSITIVE = [] include Aws::Structure end |