company logo

DatabaseContext :: database - Get database handle

Each database base context is associated with a specific database.

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