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 getOCI_ATTR_CALL_TIME
asDuration
, which is the server-side time for the preceding call - A type parameter for
Connection::oci_attr
andConnection::set_oci_attr
to get and setOCI_ATTR_COLLECT_CALL_TIME
, which causes the server to measure call time for each subsequent OCI call - A type parameter for
Connection::oci_attr
andConnection::set_oci_attr
to get and setOCI_ATTR_DEFAULT_LOBPREFETCH_SIZE
, which specifies the default prefetch buffer size for each LOB locator - A type parameter for
Connection::oci_attr
to getOCI_ATTR_MAX_OPEN_CURSORS
, which is the maximum number of SQL statements that can be opened in one session - A type parameter for
Statement::oci_attr
to getOCI_ATTR_SQLFNCODE
, which is the function code of the SQL command associated with the statement. - A type parameter for
Statement::oci_attr
to getOCI_ATTR_STATEMENT
, which is the text of the SQL statement prepared. - A type parameter for
Connection::oci_attr
to getOCI_ATTR_TRANSACTION_IN_PROGRESS
asbool
, which indicates whether the connection has a currently active transaction. - A type parameter for
Connection::oci_attr
to getOCI_ATTR_VARTYPE_MAXLEN_COMPAT
asMaxStringSize
. which controls the maximum size ofVARCHAR2
,NVARCHAR
andRAW
.