Module: ODPI::Dpi

Defined in:
ext/odpi_ext/rbdpi.c

Defined Under Namespace

Classes: Conn, DataType, DeqOptions, EncodingInfo, EnqOptions, Error, IntervalDS, IntervalYM, Lob, MsgProps, Object, ObjectAttr, ObjectType, Pool, QueryInfo, Rowid, Stmt, Subscr, Var, VersionInfo

Constant Summary collapse

ODPI_C_VERSION =
rb_usascii_str_new_cstr(DPI_VERSION_STRING)

Class Method Summary collapse

Class Method Details

.oracle_client_versionObject

ODPI::oracle_client_version


48
49
50
51
52
53
54
# File 'ext/odpi_ext/rbdpi.c', line 48

static VALUE oracle_client_version(VALUE klass)
{
    dpiVersionInfo ver;

    CHK(dpiContext_getClientVersion(rbdpi_g_context, &ver));
    return rbdpi_from_dpiVersionInfo(&ver);
}