libstldb4 is a C++ wrapper for the sleepycat db4 database. It uses the STL in the API where sensible, allows standard IOStreams for data access where sensible, e.g. getting the value of a key should be able to use an istream interface to allow simple partial value retreival, and moves the transaction parameter to be the last optional parameter or provides two versions of the same method for trans/nontrans. The API has been modified to use more standard types. Operator overloading is used to allow quick and dirty coding (mydb[ "key" ] = "value";) to set and cerr.
| Tags | Database Software Development Libraries |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX |
| Implementation | C++ |
Recent releases


Changes: This release updates moveCursorNextDup() to return end() when no more duplicates exist, and adds new Database::makeSecondaryIndex() that takes fh_env as well.


Changes: The internal copy of Berkeley db was updated to version 4.6.21. STLdb4 can now be built on Symbian 60v3. Minor updates were made for building across Linux distributions on OBS.


Changes: A memory allocation bug in find_partial() was fixed.


Changes: A potential bug in ~Transaction() was fixed. Support for using a Loki functor as the database ordering function was added. offsetNullTerminatedSecIdxFunction() was added for secondary indexing. Transaction::setDefaultDestructionIsAbort() was added to support the RAII design pattern.


Changes: This release adds new overloaded methods for read_only db access.