General Collection Trigger

Is there any way to implement a general trigger that will get triggered on any collection?

The examples are defined to work for specific collections only.


like a beforeSave but on general for every table?

I don’t think that there is this possibility to do that

Ok. Do you know if there is any way to dynamically add triggers. As it is now I need to implement them one by one for each collection.


you know what are the collection names?
if yes, you could write the cloud code for all those collection names from the start

1 Like