Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EventCollectionInsert

Run before a document is inserted. This allows you to modify the data inserted, bypassing the collection schema.

Hierarchy

  • EventCollectionInsert

Index

Properties

Properties

event

event: "EventCollectionInsert"

opts

opts: CollectionInsertOpts

Data to be used in the creation of a doc on a collection. Mutating this will change what gets written. If you add keys in this step that aren't in the collection schema, they will be omitted from backups.

Generated using TypeDoc