Function yottadb::ydb_exit[][src]

pub fn ydb_exit() -> c_int

Cleans up the process connection/access to all databases and all yottadb data structures.

If you have already made a call to YottaDB, any future calls to YottaDB after calling yottadb::ydb_exit() will return YDBError { status: YDB_ERR_CALLINAFTERXIT }. If you have never before made a call to YottaDB, exit() has no effect.

A typical application should not need to call yottadb::ydb_exit() since YottaDB will automatically clean up on process termination.

This has no effect on any Keys, which will be automatically dropped when they go out of scope.


Possible errors for this function include: