Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::SqlParameter.
Represents a bind variable (parameter) for SQL execution.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If omitted, parameters bind positionally based on their order in the list.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If omitted, parameters bind positionally based on their order in the list.
Returns
- (::String) — Optional. The name of the SQL bind parameter (excluding the leading colon, e.g. "id"). If omitted, parameters bind positionally based on their order in the list.
#type_name
def type_name() -> ::String
Returns
- (::String) — Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string.
#type_name=
def type_name=(value) -> ::String
Parameter
- value (::String) — Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string.
Returns
- (::String) — Optional. Optional: Datatype hint for the parameter (e.g., "VARCHAR2", "NUMBER", "DATE", "TIMESTAMP"). If omitted, the Oracle driver will infer the type from the value string.
#value
def value() -> ::Google::Protobuf::Value
Returns
- (::Google::Protobuf::Value) — Required. Use protobuf.Value so clients can pass ints, bools, and strings natively.
#value=
def value=(value) -> ::Google::Protobuf::Value
Parameter
- value (::Google::Protobuf::Value) — Required. Use protobuf.Value so clients can pass ints, bools, and strings natively.
Returns
- (::Google::Protobuf::Value) — Required. Use protobuf.Value so clients can pass ints, bools, and strings natively.