Khan W
08/02/2021, 4:47 PMKhan W
08/02/2021, 4:48 PMbabayaga
08/02/2021, 4:53 PMKhan W
08/02/2021, 6:28 PMsql
select your_columns from your_table ORDER BY random()
burggraf
08/02/2021, 6:52 PMspiderz
08/02/2021, 8:08 PMvenca
08/02/2021, 9:56 PMRobertS
08/03/2021, 1:18 PMarticles
and users
in a m2m table called articles_users
. The name of the trigger is on_article_created
. When I try to drop the trigger using SQL: drop trigger on_article_created on public.articles;
I get and error saying An error occurred with your deployment
Abnazhor
08/04/2021, 3:06 PMSELECT * FROM Foo WHERE bar = 25
, create a policy that depends on the value of bar. I've been searching for a while and I'm not sure if that is possible at allburggraf
08/04/2021, 7:58 PMkennethcassel
08/04/2021, 9:25 PMjs
const { data: courses, error } = await supabase
.from('courses')
.select(
`*,
lessons (
lesson_id, lesson_order)`
)
.eq('user_id', 5)
user
08/04/2021, 9:31 PMkennethcassel
08/04/2021, 9:31 PMMihai Andrei
08/04/2021, 9:32 PMuser
08/04/2021, 9:32 PMkennethcassel
08/04/2021, 9:46 PMDeleted User
08/05/2021, 12:01 PMsilentworks
08/05/2021, 1:24 PMLeDragunov
08/05/2021, 5:37 PMError updating foreign key: there is no unique constraint matching given keys for referenced table "countries"
even though all the values in the column are uniquesilentworks
08/05/2021, 6:19 PMbdlukaa
08/05/2021, 7:30 PMcountries
mikebarkmin
08/05/2021, 8:01 PMLeDragunov
08/05/2021, 11:36 PMLeDragunov
08/05/2021, 11:37 PMScott P
08/05/2021, 11:42 PMUNIQUE
property set - whichever column you're trying to match against should have it set.
It looks like it might be trying to perform a query against a table using a column which doesn't have UNIQUE set. That can lead to ambiguous results at best, but Postgres will usually just stop the query to prevent problems (e.g. data being overwritten incorrectly) in the case of an UPDATE
query.
Example: https://www.postgresqltutorial.com/postgresql-unique-constraint/LeDragunov
08/06/2021, 12:13 AMrayyanmaq1
08/06/2021, 3:01 AMhackerdocc
08/06/2021, 12:02 PMKosh
08/07/2021, 1:53 PM.select(
"*, following_user:follower(id, username, profile_picture, follower_count:friends.following(count)), "
"follower_user:following(id, username, profile_picture, follower_count:friends.following(count))",
)
#motherofnestingburggraf
08/07/2021, 2:54 PM