SqlParameter
A parameter used in a SQL statement.
Contents
- name
-
The name of the parameter.
Type: String
Required: No
- typeHint
-
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.
Type: String
Valid Values:
JSON | UUID | TIMESTAMP | DATE | TIME | DECIMAL
Required: No
-
- value
-
The value of the parameter.
Type: Field object
Note: This object is a Union. Only one member of this object can be specified or returned.
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: