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

DOCSAPIClient API


Get the list of databases.

Syntax

client.databases(): Promise<Array<string>>;

Usage

Get the list of databases:

const databases = await client.databases();
console.log(databases); // ['database_1', 'database_2']
Clone this wiki locally