rocksdict/RocksDict

how to determine if there is already a db so i don't need to create it again

superlomo opened this issue · 2 comments

Sorry to ask so silly question since I'm new ot rocksdb and rocksdict

similary question how to determine if a colume already exists, like this?
if db.get_column_family("name", Options()):

There is a static method of Rdict: it returns a list of existing column families: Rdict.list_cf("test"), which returns ['default'].