Type alias DeleteEvent<T>

DeleteEvent<T>: {
    documentKey: DocumentKey<T["_id"]>;
    ns: DocumentNamespace;
} & BaseChangeEvent<"delete">

A document got deleted from the collection.

Type Parameters

Type declaration

  • documentKey: DocumentKey<T["_id"]>

    A document that contains the _id of the deleted document.

  • ns: DocumentNamespace

    The namespace (database and collection) which the document got deleted from.

Generated using TypeDoc