Class: Aws::RDSDataService::Types::SqlParameter
- Inherits:
-
Struct
- Object
- Struct
- Aws::RDSDataService::Types::SqlParameter
- Defined in:
- gems/aws-sdk-rdsdataservice/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 'gems/aws-sdk-rdsdataservice/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 correspondingString
parameter value is sent as an object ofDATE
type to the database. The accepted format isYYYY-MM-DD
.DECIMAL
- The correspondingString
parameter value is sent as an object ofDECIMAL
type to the database.JSON
- The correspondingString
parameter value is sent as an object ofJSON
type to the database.TIME
- The correspondingString
parameter value is sent as an object ofTIME
type to the database. The accepted format isHH:MM:SS[.FFF]
.TIMESTAMP
- The correspondingString
parameter value is sent as an object ofTIMESTAMP
type to the database. The accepted format isYYYY-MM-DD HH:MM:SS[.FFF]
.UUID
- The correspondingString
parameter value is sent as an object ofUUID
type to the database.
936 937 938 939 940 941 942 |
# File 'gems/aws-sdk-rdsdataservice/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 'gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/types.rb', line 936 class SqlParameter < Struct.new( :name, :value, :type_hint) SENSITIVE = [] include Aws::Structure end |