[pybsddb] How to get Btree len inside a transaction?

Matt Chaput matt at whoosh.ca
Tue Mar 11 02:49:36 CET 2014


How do I get the number of keys in the database inside a transaction? I can't see a way to do it in the API. If I just try to do len(btree) on a btree I opened with the txn keyword, it locks up.

Thanks,

Matt




More information about the pybsddb mailing list