NuDB Logo

PrevUpHomeNext

basic_store::appnum

Return the appnum associated with the database.

std::uint64_t
appnum() const;

This is an unsigned 64-bit integer associated with the database and defined by the application. It is set once when the database is created in a call to create.

Requirements

The database must be open.

Thread safety

Safe to call concurrently with any function except open or close.

Return Value

The appnum.


PrevUpHomeNext