add Facet
Adds a filter/sort column under alias with one or more field paths. The column type is auto-detected from the first path's Kotlin type. Multiple paths use OR logic during filtering (e.g., a single "search" column that matches any of several fields).
Aliases are the only column identifier visible outside the server — they must not leak schema details. Prefer short, human-readable business names ("name", "total").
Explicit-type variant of addFacet.
Enum-column variant of addFacet with an explicit display→DB value map.
Adds a column using type-safe KSP-generated path objects.
Explicit-type typed-path variant.
Enum-column typed-path variant.