Skip to content

Selection = Readonly<Record<string, boolean | undefined>>

Defined in: src/query/selection.ts:74

A selection: entity fields, $attributes / $attributeSchema, and attributes by name, each set to true to ask for it. The same selection means the same thing with or without a schema — naming one with .from(...) only types and checks the selected attributes, and the filter. A named schema also restricts the query to entities tagged with its name, and leaves the tag out of every row.