interface DatabaseGetOperation {
    action: "get";
    broadcast?: false;
    index?: boolean;
    indexFields?: string[];
    pack?: null | string;
    parent?: null | Document<object, DocumentConstructionContext>;
    parentUuid?: string;
    query: Record<string, any>;
}

Properties

action: "get"

The action of this database operation

broadcast?: false

Get requests are never broadcast

index?: boolean

Return indices only instead of full Document records

indexFields?: string[]

An array of field identifiers which should be indexed

pack?: null | string

A compendium collection ID which contains the Documents

parent?: null | Document<object, DocumentConstructionContext>

A parent Document within which Documents are embedded

parentUuid?: string

A parent Document UUID provided when the parent instance is unavailable

query: Record<string, any>

A query object which identifies the set of Documents retrieved