dpiSodaDb_release

Function dpiSodaDb_release 

Source
pub unsafe extern "C" fn dpiSodaDb_release(
    db: *mut dpiSodaDb,
) -> c_int
Expand description

Releases a reference to the database. A count of the references to the database is maintained and when this count reaches zero, the memory associated with the database is freed.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.