Oracle Database@Google Cloud V1 API - Class Google::Cloud::OracleDatabase::V1::SqlParameter (v1.5.0)

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

#value=

def value=(value) -> ::Google::Protobuf::Value
Parameter
Returns