Database status
View the current database status.
const status = db.status();
Variable status
will contain some data about the database.
{
init: true,
version: 1.0.0,
name: "example-db",
template: "example-db"
}
Status will always return the same structure. So if the database is uninitialized, it would look like this:
{
init: false,
version: None,
name: "example-db",
template: null
}