company logo

Property :: database - Database property

The property provides the database handle for the property. For transient references the function returns the database handle that is associated with the transient reference property, and not the database handle of the property handle, which is currently set in the transient reference, which might in some cases belong to another database.

When the property handle is invalid or when it refers to an independent transient property that does not have a database parent, the function will throw an exception.

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 & Property  :: database (  )