How do I auto delete every document created by a user whenever User Account is deleted
TL;DR
User wants to know how to delete all documents created by a specific user and have a field to save the user ID. They also want to know how to automatically delete the documents when the user account is deleted. A function needs to be used for this purpose.
D5
15 Jul, 2023, 20:46
You will need a function
D5
15 Jul, 2023, 20:47
And also have a field where you save the user ID when the document is created