Reference documentation and code samples for the Oracle Database@Google Cloud V1 API class Google::Cloud::OracleDatabase::V1::ExecuteSqlRequest.
The request for DatabaseConnection.ExecuteSql.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Required. The name of the DatabaseConnection in the following format: projects/{project}/locations/{location}/databaseConnections/{database_connection}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the DatabaseConnection in the following format: projects/{project}/locations/{location}/databaseConnections/{database_connection}.
Returns
- (::String) — Required. The name of the DatabaseConnection in the following format: projects/{project}/locations/{location}/databaseConnections/{database_connection}.
#params
def params() -> ::Array<::Google::Cloud::OracleDatabase::V1::SqlParameter>
Returns
- (::Array<::Google::Cloud::OracleDatabase::V1::SqlParameter>) — Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).
#params=
def params=(value) -> ::Array<::Google::Cloud::OracleDatabase::V1::SqlParameter>
Parameter
- value (::Array<::Google::Cloud::OracleDatabase::V1::SqlParameter>) — Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).
Returns
- (::Array<::Google::Cloud::OracleDatabase::V1::SqlParameter>) — Optional. Optional: Bind variables (parameters) to be used with the SQL statement. Supports named bind variables (e.g., :dept_id, :status in Oracle SQL) or positional parameters (:1, :2).
#sql_statement
def sql_statement() -> ::String
Returns
- (::String) — Required. The SQL statement to execute.
#sql_statement=
def sql_statement=(value) -> ::String
Parameter
- value (::String) — Required. The SQL statement to execute.
Returns
- (::String) — Required. The SQL statement to execute.