Skip to content

SelectionFields = { [K in SystemField]?: boolean } & object

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

The keys a selection gives a fixed meaning: the entity fields, plus $attributes and $attributeSchema, which read an entity’s attributes as a whole. Any key without a $ names an attribute.

optional $attributes: boolean

Every attribute, as a map keyed by name.

optional $attributeSchema: boolean

Attribute names, types and indexing, without their values — a cheap way to find out what entities hold before fetching values that may be large. See AttributeSchema.