Expand description
Rust-oracle is based on ODPI-C using Oracle Call Interface (OCI) internally. OCI treats resources as handles, which have various attributes documented here.
The module defines type parameters to access some OCI attributes and
the trait OciAttr
to define your own type parameters to access attributes
which are not predefined in this module.
Modules
The module defines types related to the associate type
OciAttr::DataType
.The module defines types to be set to the associate type
OciAttr::HandleType
The module defines types to be set to the associate type
OciAttr::Mode
Structs
A type parameter for
Connection::oci_attr
to get OCI_ATTR_CALL_TIME
as Duration
,
which is the server-side time for the preceding callA type parameter for
Connection::oci_attr
and Connection::set_oci_attr
to get and set OCI_ATTR_COLLECT_CALL_TIME
,
which causes the server to measure call time for each subsequent OCI callA type parameter for
Connection::oci_attr
and Connection::set_oci_attr
to get and set OCI_ATTR_DEFAULT_LOBPREFETCH_SIZE
,
which specifies the default prefetch buffer size for each LOB locatorA type parameter for
Connection::oci_attr
to get OCI_ATTR_MAX_OPEN_CURSORS
,
which is the maximum number of SQL statements that can be opened in one sessionA type parameter for
Statement::oci_attr
to get OCI_ATTR_SQLFNCODE
,
which is the function code of the SQL command associated with the statement.A type parameter for
Statement::oci_attr
to get OCI_ATTR_STATEMENT
,
which is the text of the SQL statement prepared.A type parameter for
Connection::oci_attr
to get OCI_ATTR_TRANSACTION_IN_PROGRESS
as bool
,
which indicates whether the connection has a currently active transaction.A type parameter for
Connection::oci_attr
to get OCI_ATTR_VARTYPE_MAXLEN_COMPAT
as MaxStringSize
.
which controls the maximum size of VARCHAR2
, NVARCHAR
and RAW
.