Jaeden
10/08/2021, 9:17 PMJulián
10/09/2021, 1:57 AMBarba
10/09/2021, 8:56 AMYelloJello
10/09/2021, 9:09 AMdarora
10/09/2021, 1:16 PM$ curl -o - https://_______.supabase.in/storage/v1/object/_/_/index.html
<html>foo</html>
Note that we don't support serving HTML directly off the storage buckets, so a browser won't be able to render the HTML file you're uploading.Twelve
10/09/2021, 2:10 PMHarryET
10/09/2021, 2:55 PMBryan K.
10/09/2021, 5:36 PMSELECT
name,
phones
FROM
contacts
WHERE
'(408)-589-5555' = ANY (phones);
from https://www.postgresqltutorial.com/postgresql-array/zeeshanok
10/09/2021, 5:38 PMzeeshanok
10/09/2021, 5:39 PMselect column from table
without any of the extra functionsHarryET
10/09/2021, 5:40 PMNine
10/09/2021, 5:43 PMjs
const { data, error } = await supabase
.storage
.from('storage')
.download(['test/item1', 'test/item2', 'test/item3'])
Or:
js
const { data, error } = await supabase
.storage
.from('storage')
.download('test/item1')
.download('test/item2')
.download('test/item3')
Hope I kinda got the point across 🙂Bryan K.
10/09/2021, 5:53 PM.cs('array_column', ['array', 'contains'])
filter to the function.HarryET
10/09/2021, 5:54 PMHarryET
10/09/2021, 5:55 PMts
const { data, error } = await supabase
.from<MentionedMessageType>("messages")
.select(messageQuery);
Bryan K.
10/09/2021, 5:57 PMconst { data, error } = await supabase
.from('table_name')
.select(*)
.cs('ids_array_column', ['X'])
HarryET
10/09/2021, 5:58 PMBryan K.
10/09/2021, 5:59 PM.cs('ids_array_column', X)
Bryan K.
10/09/2021, 6:00 PMHarryET
10/09/2021, 6:00 PMHarryET
10/09/2021, 6:00 PMBryan K.
10/09/2021, 6:01 PMHarryET
10/09/2021, 6:01 PMNine
10/09/2021, 6:34 PMNine
10/09/2021, 6:34 PMBryan K.
10/09/2021, 6:51 PMfrom.list()
function. If you could, that would be awesome! Something like...
const { data, error } = await supabase
.storage
.from('avatars')
.list('folder', {
limit: 100,
offset: 0,
sortBy: { column: 'name', order: 'asc' },
})
.filter('name', 'contains', 'filename')
If there isn't a way to filter in the .storage
call, then I would probably get the list of files in the data
variable and use JS code to reduce that down to what I want from it and then run the .from.download()
function to download the files or the from.createSignedUrl()
function to get a set of URLs to provide to someone to download those files to their local device.Nine
10/09/2021, 6:54 PMNine
10/09/2021, 6:56 PM