Skip to content

BeechCMS


BeechCMS / @beechcms/core / listTables

Function: listTables() ​

listTables(executor, prefix?): Promise<string[]>

Names of the physical tables SQLite holds, optionally restricted to a LIKE prefix (e.g. content_). Sorted, sqlite_* internals excluded.

Parameters ​

executor ​

SchemaQueryExecutor

prefix? ​

string

Returns ​

Promise<string[]>