SelectionFields
SelectionFields =
object
Defined in: src/query/selection.ts:10
The entity fields a query can select. Each maps one-to-one onto a field of Entity.
attributes takes a third form beyond true/false: a map of names, to fetch only those.
Properties
Section titled “Properties”attributes?
Section titled “attributes?”
optionalattributes:boolean|Readonly<Record<string,boolean>>
Defined in: src/query/selection.ts:23
true for every attribute, or a map of names for a subset.
attributeSchema?
Section titled “attributeSchema?”
optionalattributeSchema:boolean
Defined in: src/query/selection.ts:21
Attribute names and types, without their values.
contentType?
Section titled “contentType?”
optionalcontentType:boolean
Defined in: src/query/selection.ts:18
createdAt?
Section titled “createdAt?”
optionalcreatedAt:boolean
Defined in: src/query/selection.ts:14
creationFlags?
Section titled “creationFlags?”
optionalcreationFlags:boolean
Defined in: src/query/selection.ts:17
creator?
Section titled “creator?”
optionalcreator:boolean
Defined in: src/query/selection.ts:13
expiresAt?
Section titled “expiresAt?”
optionalexpiresAt:boolean
Defined in: src/query/selection.ts:16
optionalkey:boolean
Defined in: src/query/selection.ts:11
owner?
Section titled “owner?”
optionalowner:boolean
Defined in: src/query/selection.ts:12
payload?
Section titled “payload?”
optionalpayload:boolean
Defined in: src/query/selection.ts:19
updatedAt?
Section titled “updatedAt?”
optionalupdatedAt:boolean
Defined in: src/query/selection.ts:15