Is there any way to detect that a document is getting deleted ?
As i want to run some functions when a document is getting deleted, if anyone have any idea let me know.
on_trash is called when a document is being deleted
Thanks form response. I will try this.