Run before a document is inserted. This allows you to modify the data inserted, bypassing the collection schema.
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
Run before a document is inserted. This allows you to modify the data inserted, bypassing the collection schema.