Hi guys, do u know if there is any way to cascade ...
# help
k
Hi guys, do u know if there is any way to cascade deleting records from supabase with .delete().match() in javascript?
n
Hello @kudziak! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
s
It will delete in cascade if you setup your table that way, but currently there is no way to do this from the table editor so you would have to do it with the SQL Editor.
k
Is there any way to 'edit' existing table and add this cascade delete via sql editor or i need to delete everything and try again from the begining
s
k
i found solution to this, i deleted constraint and added it in sql_editor, now when i delete record from parent its going to be deleted FK. Thanks u give me a hint where to search it 🙂
n
Thread was archived by @kudziak. Anyone can send a message to unarchive it.