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

Get the list of databases.

Syntax

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

Return Value

  • Array: An array of database names

Usage

Available databases:

const databases = await client.databases();
Clone this wiki locally