How to see a list of all open (sub) databases? #215
-
Hi! How to see a list of all open (sub) databases for (opened with .opendb...)? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can do a getRange() on the root database (where name is undefined or null), to get a list of all the databases, as they are all stored there. The keys for the range will be the database names. However, you need to make sure your root database has an |
Beta Was this translation helpful? Give feedback.
You can do a getRange() on the root database (where name is undefined or null), to get a list of all the databases, as they are all stored there. The keys for the range will be the database names. However, you need to make sure your root database has an
encoding: 'binary'
or you may get decoding errors.