1
[storage-js] Skip `.from('bucket')` storage calls syntax for `createSignedUrls` function
Source: supabase/supabase#15539 · opened by @bombillazo
Hello, the current syntax to get a batch of signedUrls assumes all the paths of the array of files are in the same bucket. We query our files for a user and said files are stored in different buckets. I understand that for single files the .from()... syntax may be easier to read, but for batch processes it forces us to run multiple API calls to the storage API to generate the signed URLs, once for each set of files for a bucket. This pattern so far affects this call, but could potentially impose this limit on other functionality as well.
One solution is for the batch process, skipping the from part and pass the complete file path (including the bucket) in the array of files.
One solution is for the batch process, skipping the from part and pass the complete file path (including the bucket) in the array of files.
No pledges yet. Be the first to back this.
Comments
Similar requests
Way to createSignedUrls with image transformation
7 votes · 0 comments
storage createSignedUrl / createSignedUrls speedup
3 votes · 0 comments
Storage: Upload to Bucket from Url
6 votes · 0 comments
Skip support
4 votes · 0 comments
Creating tables related to bucket files (demo + idea)
1 vote · 0 comments
No comments yet.