Struct mimir::AppContext [] [src]

pub struct AppContext { /* fields omitted */ }

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).

Methods

impl AppContext
[src]

Create a new AppContext struct.

Create a new AppContext struct from an ODPI-C dpiAppContext struct.

Get the namespace_name value.

Specifies the value of the "namespace" parameter to sys_context(). It is expected to be a byte string in the encoding specified in the ODPIConnCreateParams structure and must not be NULL.

Get the name value.

Specifies the value of the "parameter" parameter to sys_context(). It is expected to be a byte string in the encoding specified in the ODPIConnCreateParams structure and must not be NULL.

Get the value value.

Specifies the value that will be returned from sys_context(). It is expected to be a byte string in the encoding specified in the ODPIConnCreateParams structure and must not be NULL.