Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Request for new functionality
View staffing
Description
Problem you have encountered: Customer would like to have a single trigger listen to all documents in a collection and trigger
on any field update/delete in any document
For example :
6 documents A.B,C,D,E,F in a collection called LETTERS
Document A gets a new field added (string) .... trigger fires
Document E gets a field deleted (string) .... trigger fires
Please note that [1] outlined that Triggers happen at the document-level. It is not possible to create a trigger for a specific field only.
[1]
What you expected to happen:Customer would like to have a trigger that only pays attention to a particular field