Supabase CRUDQ + RealtimeDatabase

Hello everyone :partying_face:,

Today we are adding more useful functions

  • supabaseFileDelete
  • supabaseFileDownload

In this version, I have modified the supabaseRequestHeaders function so that you can choose whether to use the access token or not with a simple true/false, since we can choose to be anonymous or logged in.

I have also added the saveResponse parameter to all functions, as we will be saving a file with supabaseFileDownload.

Delete file

Parameter Description
bucket supabase storage bucket
fileName file name with extension

Download file

Parameter Description
bucket supabase storage bucket
fileName file name (on supabase) with extension
saveAs the path + filename.extension where we want to save the file

AIA

Given the various changes made, I am leaving the updated project.

SupabaseCRUD.aia (432.5 KB)

1 Like