Skip to content

Function: selectionPredicateSql()

selectionPredicateSql(sel): string

Defined in: mosaic-selection.ts:809

One Selection's whole predicate as SQL text — "TRUE" when nothing filters. predicate(undefined) means "all clauses, exclude nobody"; the clause-list fallback covers structural fakes. Interpolate into hand-rolled cell queries as WHERE ${selectionPredicateSql(sel)}.

Parameters

sel

SelectionLike

Returns

string