We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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