API reference: @salmonui/data/json
toWherePredicatefunction
import { toWherePredicate } from '@salmonui/data/json';Also exported from @salmonui/data.
function toWherePredicate(filters: readonly FilterEntry[], fieldOf?: (id: string) => string): WirePredicate | undefined;
Top level: conditions on the same column fold left to right by their
predicate; columns and groups are ANDed (Data Grid engine filter semantics).