interface QueryContext {
    action: keyof ActionContextMap;
    agent: Agent<any>;
    backend: sharedb;
    channel: string;
    channels: string[];
    collection: string;
    db: DB;
    fields: ProjectionFields;
    index: string;
    options?: Object;
    projection: ReadonlyProjection;
    query: any;
    snapshotProjection: ReadonlyProjection;
}

Hierarchy (view full)

Properties

action: keyof ActionContextMap
agent: Agent<any>
backend: sharedb
channel: string

Deprecated

Use channels property instead

channels: string[]
collection: string
db: DB
index: string
options?: Object
projection: ReadonlyProjection
query: any
snapshotProjection: ReadonlyProjection