Module dbdir
source code
Provide the Berkeley DB (DBDir) database backend for GRAMPS. This is
used since GRAMPS version 3.0
|
log = logging.getLogger(".GrampsDb")
|
|
IDTRANS = ' person_id '
|
|
FIDTRANS = ' family_id '
|
|
PIDTRANS = ' place_id '
|
|
OIDTRANS = ' media_id '
|
|
EIDTRANS = ' event_id '
|
|
RIDTRANS = ' repo_id '
|
|
NIDTRANS = ' note_id '
|
|
SIDTRANS = ' source_id '
|
|
SURNAMES = ' surnames '
|
|
NAME_GROUP = ' name_group '
|
|
META = ' meta_data '
|
|
FAMILY_TBL = ' family '
|
|
PLACES_TBL = ' place '
|
|
SOURCES_TBL = ' source '
|
|
MEDIA_TBL = ' media '
|
|
EVENTS_TBL = ' event '
|
|
PERSON_TBL = ' person '
|
|
REPO_TBL = ' repo '
|
|
NOTE_TBL = ' note '
|
|
REF_MAP = ' reference_map '
|
|
REF_PRI = ' primary_map '
|
|
REF_REF = ' referenced_map '
|
|
DBERRS = db.DBRunRecoveryError, db.DBAccessError, db.DBPageNot...
|
Imports:
pickle,
os,
time,
InstanceType,
_,
dbshelve,
db,
logging,
GenderStats,
Person,
Family,
Event,
Place,
Source,
MediaObject,
Repository,
Note,
GrampsDbBase,
KEY_TO_CLASS_MAP,
CLASS_TO_KEY_MAP,
REFERENCE_KEY,
Transaction,
FileVersionError,
UpdateCallback,
GrampsCursor,
Errors
DBERRS
- Value:
db.DBRunRecoveryError, db.DBAccessError, db.DBPageNotFoundError, db.DB
InvalidArgError
|
|