Back

Delete Where

  • 0
  • Flutter
  • Cloud
Zionnite
20 Mar, 2024, 04:47

in my current project with AppWrite, i want to be able to delete all comment in the documents when the original posts its deleted, i was wondering how I can do that in Appwrite like in MYSQL where i can use the WHERE clause

TL;DR
Developers asked how to delete all comments in Appwrite when the original post is deleted. They were looking for a way to do this similarly to using the `WHERE` clause in MySQL. The solution is to use the `search` method in the Appwrite SDK to find and delete the associated comments when the original post is deleted.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more