Back

bulk delete documents

  • 0
  • Databases
punti_z
17 Mar, 2024, 20:40

Is there any way to bulk delete documents ? The way I currently doing it is

ListDocuments -> loop through resulting document ids -> delete document one by one

Couldn't find anything in the docs so I assume there is no way but would it not be ideal to have a "delete document where criteria". This is available all databases

I see this issue on GitHub but not sure if the intention is to include bulk delete with query.

https://github.com/appwrite/appwrite/issues/5722

TL;DR
Developers are wondering if there is a way to bulk delete documents instead of deleting them one by one in Appwrite. They suggest implementing a "delete document where criteria" feature similar to databases. A related issue on GitHub has been noted but it's unclear if bulk delete with query will be included.
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