Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventCollectionInsertComplete

Fired after a document is inserted into the collection.

Hierarchy

  • EventCollectionInsertComplete

Index

Properties

collection

collection: DBCollection

A reference to the containing collection

doc

doc: DBDoc

A reference to the inserted document. Mutations here will persist. If you add keys in this step that aren't in the collection schema, they will be omitted from backups.

event

event: "EventCollectionInsertComplete"

unlistenedDoc

unlistenedDoc: DBDoc

Same document as doc, this one won't trigger events when updated though

Generated using TypeDoc