Skip to content

BeechCMS


BeechCMS / @beechcms/core / LiveTable

Interface: LiveTable ​

The physical state of one table. exists: false means SQLite reports no such table.

Properties ​

columns ​

columns: LiveColumn[]

Physical order, as returned by PRAGMA table_info (cid order).


exists ​

exists: boolean


foreignKeys ​

foreignKeys: LiveForeignKey[]

Sorted by column, then targetTable, for deterministic output.


indexes ​

indexes: LiveIndex[]

Sorted by name.


name ​

name: string