PreparedStatement¶
- class oci.nosql.models.PreparedStatement(**kwargs)¶
Bases:
objectThe result of query preparation.
Methods:
__init__(**kwargs)Initializes a new PreparedStatement object with values from keyword arguments.
Attributes:
Gets the query_plan of this PreparedStatement.
Gets the statement of this PreparedStatement.
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.
query_plan (object) – The value to assign to the query_plan property of this PreparedStatement.
usage (oci.nosql.models.RequestUsage) – The value to assign to the usage property of this PreparedStatement.
- property query_plan¶
Gets the query_plan of this PreparedStatement. A representation of the query plan as a schema-less JSON object.
- Returns
The query_plan of this PreparedStatement.
- Return type
object
- property 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
- property usage¶
Gets the usage of this PreparedStatement.
- Returns
The usage of this PreparedStatement.
- Return type