interface DatabaseDeleteOperation {
    broadcast: boolean;
    ids: string[];
    deleteAll: boolean;
    modifiedTime: number;
    noHook: boolean;
    render: boolean;
    parent: any;
    pack: string;
    parentUuid: string;
    _result: (string | object)[];
}

Properties

broadcast: boolean

Whether the database operation is broadcast to other connected clients

ids: string[]

An array of Document ids which should be deleted

deleteAll: boolean

Delete all documents in the Collection, regardless of _id

modifiedTime: number

The timestamp when the operation was performed

noHook: boolean

Block the dispatch of hooks related to this operation

render: boolean

Re-render Applications whose display depends on the deleted Documents

parent: any

A parent Document within which Documents are embedded

pack: string

A compendium collection ID which contains the Documents

parentUuid: string

A parent Document UUID provided when the parent instance is unavailable

_result: (string | object)[]

An alias for 'ids' used internally by the server-side backend