Skip to content
Back

Delete on cascade from Cloud Function

  • 0
  • 1
  • Self Hosted
  • Functions
7 Aug, 2026, 09:51

I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion, but when this function runs, only the specified row is deleted; none of the cascade relationships are deleted.

Is cascade deletion currently supported in Cloud Functions? What would be the best way to achieve similar behavior if it’s not available?

TL;DR
The user is trying to delete a row with cascade relationships in a Cloud Function but only the specified row is deleted, not the cascade relationships. They want to know if cascade deletion is supported in Cloud Functions and how to achieve similar behavior if it's not available.
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