! Class self.PythonAddict = True
07/27/2021, 4:39 PM! Class self.PythonAddict = True
07/27/2021, 4:39 PMnailuj
07/27/2021, 5:17 PMbdlukaa
07/27/2021, 5:45 PMromlytech
07/28/2021, 8:20 PMburggraf
07/28/2021, 9:59 PMburggraf
07/28/2021, 10:02 PMburggraf
07/28/2021, 10:03 PMehesp
07/29/2021, 9:34 AMcreate table if not exists public.profiles (
id uuid references auth.users primary key,
project text
);
When doing a query via the supabase JS client, how do you join on some of the data from the auth.users table?Sduu_
07/29/2021, 10:15 AMincredible
07/29/2021, 11:26 AM! Class self.PythonAddict = True
07/29/2021, 11:30 AMincredible
07/29/2021, 11:31 AM! Class self.PythonAddict = True
07/29/2021, 11:32 AMsilentworks
07/29/2021, 11:32 AMincredible
07/29/2021, 11:33 AMsilentworks
07/29/2021, 11:33 AMincredible
07/29/2021, 11:34 AMehesp
07/29/2021, 12:17 PMjsonb
, I technically don't need to do this anymore.
Question is; are queries slower / costly when using jsonb vs querying a single value in a column?burggraf
07/29/2021, 12:44 PMromlytech
07/29/2021, 1:12 PM(
select
profile_id
from
participants
where
chatroom_id = (
select
chatroom_id
from
participants
where
profile_id = uid()
)
I think I'm on the right track? 😬grsouza
07/29/2021, 1:35 PMsilentworks
07/29/2021, 1:37 PMjon.m
07/29/2021, 3:25 PMjon.m
07/29/2021, 3:33 PMselect * from mytable where pub_types @> '{"Journal", "Book"}';
That appears to be an example that would handle the query, but how would you then order by the number of matches?jon.m
07/29/2021, 3:34 PMhamishcoding
07/29/2021, 5:27 PMAzura
07/29/2021, 5:29 PMsql
UPDATE table
SET col1 = new_value
WHERE col = some_value
Azura
07/29/2021, 5:30 PMhamishcoding
07/29/2021, 5:30 PM