Lines Matching refs:txn
163 def keys(self, txn=None): argument
164 if txn is not None:
165 return self.db.keys(txn)
198 def items(self, txn=None): argument
199 if txn is not None:
200 items = self.db.items(txn)
209 def values(self, txn=None): argument
210 if txn is not None:
211 values = self.db.values(txn)
220 def __append(self, value, txn=None): argument
222 return self.db.append(data, txn)
224 def append(self, value, txn=None): argument
226 return self.__append(value, txn=txn)
255 def get_both(self, key, value, txn=None, flags=0): argument
257 data = self.db.get(key, data, txn, flags)
261 def cursor(self, txn=None, flags=0): argument
262 c = DBShelfCursor(self.db.cursor(txn, flags))
267 def put(self, key, value, txn=None, flags=0): argument
269 return self.db.put(key, data, txn, flags)