Crate mimir [] [src]

Rust bindings over the Oracle Database Programming Interface for Drivers and Applications.

Modules

constants

ODPI-C Constants

enums

ODPI-C public enums

error

mimir errors

flags

ODPI-C public bitflags.

Structs

AppContext

This structure is used for passing application context to the database during the process of creating standalone connections. These values are ignored when acquiring a connection from a session pool or when using DRCP (Database Resident Connection Pooling).

Connection

Connection handles are used to represent connections to the database.

Context

This structure represents the context in which all activity in the library takes place.

Data

This structure is used for passing data to and from the database for variables and for manipulating object attributes and collection values.

DeqOptions

Dequeue option handles are used to represent the options specified when dequeuing messages using advanced queueing.

EnqOptions

Enqueue option handles are used to represent the options specified when enqueuing messages.

Lob

LOB handles are used to represent large objects (CLOB, BLOB, NCLOB, BFILE).

MsgProps

ODPI-C Message Props wrapper.

ODPIBytes

This structure is used for passing byte strings to and from the database in the structure dpiData.

ODPIData

This structure is used for passing data to and from the database for variables and for manipulating object attributes and collection values.

ODPIObjectAttrInfo

This structure is used for passing information about an object type from ODPI-C. It is used by the function ObjectAttr::get_info().

ODPIObjectTypeInfo

This structure is used for passing information about an object type from ODPI-C. It is used by the function ObjectType::getInfo().

ODPIStr

Holds a pointer and a length for ODPI-C strings.

ODPISubscrMessage

This structure is used for passing messages sent by notifications to subscriptions. It is the second parameter to the callback method specified in the ODPISubscrCreateParams structure.

Object

This structure represents instances of the types created by the SQL command CREATE OR REPLACE TYPE

ObjectAttr

Object type handles are used to represent types such as those created by the SQL command CREATE OR REPLACE TYPE.

ObjectType

Object type handles are used to represent types such as those created by the SQL command CREATE OR REPLACE TYPE.

Pool

This structure represents session pools and is available by handle to a calling application or ' driver.

QueryInfo

This structure is used for passing query metadata from ODPI-C. It is populated by the function Statement::get_query_info(). All values remain valid as long as a reference is held to the statement and the statement is not re-executed or closed.

Rowid

This structure is used to represent the unique identifier of a row in the database and is available by handle to a calling application or driver.

Statement

This structure represents statements of all types (queries, DML, DLL and PL/SQL) and is available by handle to a calling application or driver.

TypeInfo

Wrapper for ODPIDataTypeInfo struct.

Var

This structure represents memory areas used for transferring data to and from the database and is available by handle to a calling application or driver.

Unions

ODPIDataValueUnion

Struct represention C union type for ODPIData.