Hi can anyone help me with writing triggers on documents for insert and update?
Edition: MongoDB 5.0.2 Enterprise
1 Like
I have document A and document B, When data is inserted in Document A 4 columns should be populated from document B to document A
If you are running your database on Atlas (Mongo in the cloud), I believe triggers are an option.
1 Like
In addition to triggers, you could take a look at:
2 Likes