Add new modules to support restructured database objects

bsddbtxn.py -- Wrapper for BSDDB DBTxn to support context manager protocol
    txn.py      -- GrampsDbTxn class to manage atomic transactions
    write.py    -- GrampsDbWrite class for read/write databases
    read.py     -- GrampsDbRead class for read-only databases
    undoredo.py -- GrampsDbUndo class to manage the undo database
    upgrade.py  -- Helper module for upgrading a database at open time


svn: r13078
This commit is contained in:
Gerald Britton
2009-08-19 17:05:39 +00:00
parent fa05e52a04
commit c8f7bf0c69
6 changed files with 4782 additions and 0 deletions

1857
src/gen/db/write.py Normal file

File diff suppressed because it is too large Load Diff