PreparedStatement

class oci.nosql.models.PreparedStatement(**kwargs)

Bases: object

The result of query preparation.

Methods

__init__(**kwargs) Initializes a new PreparedStatement object with values from keyword arguments.

Attributes

statement Gets the statement of this PreparedStatement.
usage Gets the usage of this PreparedStatement.
__init__(**kwargs)

Initializes a new PreparedStatement object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • statement (str) – The value to assign to the statement property of this PreparedStatement.
  • usage (oci.nosql.models.RequestUsage) – The value to assign to the usage property of this PreparedStatement.
statement

Gets the statement of this PreparedStatement. A base64-encoded, compiled and parameterized version of a SQL statement.

Returns:The statement of this PreparedStatement.
Return type:str
usage

Gets the usage of this PreparedStatement.

Returns:The usage of this PreparedStatement.
Return type:oci.nosql.models.RequestUsage