A shelf to hold pickled objects, built upon a bsddb DB object. It
automatically pickles/unpickles data objects going to/from the DB.
|
|
| __init__(self,
dbenv=None) |
|
|
|
|
|
|
|
__getattr__(self,
name)
Many methods we can just pass through to the DB object. |
|
|
|
|
|
|
|
|
|
|
| __setitem__(self,
key,
value) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| __append(self,
value,
txn=None) |
|
|
|
|
| append(self,
value,
txn=None) |
|
|
|
|
| associate(self,
secondaryDB,
callback,
flags=0) |
|
|
|
|
|
|
|
| get_both(self,
key,
value,
txn=None,
flags=0) |
|
|
|
|
| cursor(self,
txn=None,
flags=0) |
|
|
|
|
| put(self,
key,
value,
txn=None,
flags=0) |
|
|
|
|
| join(self,
cursorList,
flags=0) |
|
|
|
Inherited from UserDict.DictMixin:
__cmp__,
__contains__,
__iter__,
__repr__,
clear,
has_key,
iteritems,
iterkeys,
itervalues,
pop,
popitem,
setdefault,
update
|