Skip to content
Oxford Harrison edited this page Nov 15, 2024 · 2 revisions

DOCSAPIDatabase API


Get the database's current version tag.

Syntax

database.version(): Promise<number>;

Usage

Get current version tag:

const version = await database.version();
console.log(version); // number
Clone this wiki locally