how to determine if there is already a db so i don't need to create it again
superlomo opened this issue · 2 comments
superlomo commented
Sorry to ask so silly question since I'm new ot rocksdb and rocksdict
superlomo commented
similary question how to determine if a colume already exists, like this?
if db.get_column_family("name", Options()):
Congyuwang commented
There is a static method of Rdict
: it returns a list of existing column families: Rdict.list_cf("test")
, which returns ['default']
.