company logo

Value :: database - Database handle

The property provides the database handle for the value handle. Value handles for persistent values are always associated with a database in which the are stored. Transient values, in some cases do not refer to a database parent.

Return value:  Database handle ( odaba::Database & )

The database handle refers to an (usually) opened database. Calling functions with invalid database handles may cause an exception. For checking the database handle, isValid() can be called.

Implementation details

odaba::Database & Value  :: database (  )

The function returns the database handle for the value.

When the value handle is invalid or when it refers to a transient value that does not has got a database, the function will throw an exception.