Skip to content

RpcSelect = object

Defined in: src/types/rpcSchema.ts:60

The select projection: flat, per-field booleans. Everything except key defaults to off, so a query asks for exactly what it needs and nothing more.

attributes is the one field with a third form: true for every attribute, or a map of names for a subset.

optional attributes: boolean | Record<string, boolean>

Defined in: src/types/rpcSchema.ts:69


optional attributeSchema: boolean

Defined in: src/types/rpcSchema.ts:68


optional count: boolean

Defined in: src/types/rpcSchema.ts:74

Not a field of each entity but of the page: the number of entities the query matches at the block, regardless of limit and offset, returned as the response’s count.


optional createdAt: boolean

Defined in: src/types/rpcSchema.ts:64


optional creationFlags: boolean

Defined in: src/types/rpcSchema.ts:67


optional creator: boolean

Defined in: src/types/rpcSchema.ts:63


optional expiresAt: boolean

Defined in: src/types/rpcSchema.ts:66


optional key: boolean

Defined in: src/types/rpcSchema.ts:61


optional owner: boolean

Defined in: src/types/rpcSchema.ts:62


optional updatedAt: boolean

Defined in: src/types/rpcSchema.ts:65