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

DOCSAPIDatabase API


Get the list of tables.

Syntax

database.tables(): Promise<Array<string>>;

Usage

Get the list of tables:

const tables = await database.tables();
console.log(tables); // ['table_1', 'table_2']
Clone this wiki locally