How does one get a list of the named databases that are part of an env ? From reading some python binding docs (named database implementation), I understand the names are stored in the main (unnamed?) db, but I'm not seeing them when browsing with a cursor.
How can I get a list of named databases in an lmdb env?
Asked Answered
All the named databases are stored in unnamed database as keys. Get all the keys then you will get list of named databases. For this open dbi without any database name i.e pass null for named databse argument and read all the keys.
You can find it in the following documentation link: lmdb documentation
© 2022 - 2024 — McMap. All rights reserved.