There was an error while loading. Please reload this page.
DOCS • API • Database API
Check if a table exists.
database.hasTable( name: string, ): Promise<boolean>;
name
Check if table exists:
const exists = await database.hasTable('table_1'); console.log(exists); // true | false