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:

query_plan

Gets the query_plan of this PreparedStatement.

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.

  • 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

oci.nosql.models.RequestUsage