🛠️ This documentation is still under construction
Node.js API
Status

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
}