Skip to content

BeechCMS


BeechCMS / @beechcms/core / generateFtsTable

Function: generateFtsTable() ​

generateFtsTable(seed): string | null

Generates the FTS5 virtual table definition for indexable text/richtext branches.

Parameters ​

seed ​

Seed

The seed definition.

Returns ​

string | null

The CREATE VIRTUAL TABLE SQL statement, or null if no branches are indexable.