Hello, i've read the documentation but can't find an example for this. Would you let me know how to set up the event for specific collection/db?
I am setting up a function to trigger on an event when Collection A has a DELETE event.
Which one is correct for such purpose? databases.[dbA].collections.[colllectionA].delete or databases.dbA.collections.colllectionA.delete
Thanks.
Hi 👋 , the second one would be the correct one
Thanks so much.
[SOLVED] How to specify Event
Recommended threads
- Cannot create cloud function due to this...
As I try to deploy a new function to Github I get this error message: ``` Unable to clone code repository: fatal: ' ' is not a valid branch name hint: See `man ...
- How to use TS for creating appwrite func...
I was making a few appwrite functions but on doing the appwrite init setup process i always got main.js. Is there any way i can use TS?
- Synchronous Function Execution Timed Out...
Hi Appwrite team 👋 I’m facing a synchronous function execution timeout issue on Appwrite Cloud and would appreciate some guidance. I executed this function u...