Tjol
08/28/2021, 10:21 AMHorseShoe
08/28/2021, 12:20 PMsupabase.from("cities").select(" max (population)")
HorseShoe
08/28/2021, 12:21 PMPoypoypoy
08/28/2021, 1:25 PMPeanut
08/28/2021, 1:51 PMPeanut
08/28/2021, 1:51 PMburggraf
08/28/2021, 5:47 PMMDobs
08/28/2021, 9:07 PMHal
08/29/2021, 6:12 AMHal
08/29/2021, 9:20 AMjs
await supabase
.from('design_files')
.upsert({ id: 'c9a68fc0-757a-4556-b339-659c19b551fe', name: 'Heron' })
cataxcab
08/29/2021, 10:15 AMname
, leaving owner
unchanged.
Case 2:
Entry is not present.
It tries to insert a new row with that name
and `ID`; but owner
is a required field, so insert will fail.cataxcab
08/29/2021, 10:17 AMowner
for upsert
to work, or else insert
(case2) will fail.
If you're okay with it failing, just use update
insert of upsert
.HorseShoe
08/29/2021, 10:54 AMHorseShoe
08/29/2021, 10:55 AMScott P
08/29/2021, 12:43 PMHal
08/29/2021, 1:36 PMkelvin.pompey
08/29/2021, 2:45 PMScott P
08/29/2021, 4:29 PMsupabase-rest
container: PGRST_JWT_SECRET
- supabase-realtime
container: JWT_SECRET
- supabase-auth
container: GOTRUE_JWT_SECRET
- supabase-storage
container: PGRST_JWT_SECRET
Editing them, and then restarting/redeploying the individual containers should fix the issuekelvin.pompey
08/29/2021, 4:41 PMphantoxe
08/29/2021, 5:06 PMcataxcab
08/29/2021, 5:31 PMphantoxe
08/29/2021, 5:37 PMkelvin.pompey
08/29/2021, 5:56 PMsamefold
08/29/2021, 7:12 PMkennethcassel
08/29/2021, 7:57 PMsamefold
08/29/2021, 8:17 PMsamefold
08/29/2021, 8:20 PMtinjaw
08/29/2021, 10:11 PMtinjaw
08/29/2021, 11:07 PMtinjaw
08/29/2021, 11:37 PM