Advanced
Closing a database
Databases should be closed when you have finished using them. This closes socket connections associated with syncing and cleans up other internal resources such as caching.
Datastore v Database
You can access the underlying database
object from a datastore
object:
The Verida database object is a wrapper around a native PouchDb instance. You can fetch this PouchDb instance from a database
object:
Database info
Additional information about a database can be retrieved:
Here’s example output for an encrypted database:
Last updated