garyaustin
12/06/2021, 2:09 AMGita Alekhya Paul | Quinence
12/06/2021, 6:35 AMsources
which has a column sourceAddresses
of type jsonb[]
of the following structure:
[
{
"address": "0xsomething1",
"type": "SOME_PROPERTY_1"
},
{
"address": "0xsomething2",
"type": "SOME_PROPERTY_2"
}
]
I want to check for a row in which the array in the column sourcesAddresses contains a certain source, identified by the address
property.
I tried to implement the code:
const { data, error } = await supabase
.from("sources")
.select("*")
.contains("address:sourceContractAddresses->>address", contractAddress);
Unfortunately it returns null
Can someone please guide me?Ratul Saha | Quinence
12/06/2021, 6:49 AMJer
12/06/2021, 7:31 AM@supbase/supabase-js
and trying to use the redirectTo
on signUp
and it's not working. I'm not sure I understand why:
const {
error: e,
user,
session,
} = await supabase.auth.signUp(
{ email, password },
{ redirectTo: 'http://localhost:3000/access' }
);
I have this URL added in my Auth settings as well.chipilov
12/06/2021, 8:07 AMwiesson
12/06/2021, 3:22 PMwiesson
12/06/2021, 3:24 PMsnake_case
and from postgrest onwards I can receive camelCase
? I'm migrating a huge website/app and we are coming from firestore / firebase and everything is based on camelCase
but as far as I know, postgres works best with snake case due to various reasonsSETY
12/06/2021, 4:18 PMSETY
12/06/2021, 4:18 PMSETY
12/06/2021, 4:18 PMScott P
12/06/2021, 4:25 PMSETY
12/06/2021, 4:49 PMJer
12/06/2021, 5:08 PMRB_Gaura
12/06/2021, 5:28 PMRB_Gaura
12/06/2021, 5:28 PMKailiKameoka
12/06/2021, 6:10 PMScott P
12/06/2021, 6:38 PMjaded
12/08/2021, 1:54 PMMidas
12/08/2021, 4:03 PMjonny
12/08/2021, 6:03 PMMihai
12/09/2021, 12:31 PMMihai
12/09/2021, 1:09 PMwiesson
12/09/2021, 2:55 PMwiesson
12/09/2021, 2:59 PManothercoder
12/09/2021, 4:03 PMwiesson
12/09/2021, 4:59 PMfayaz
12/10/2021, 7:49 AManothercoder
12/10/2021, 9:04 AMMartin INDIE MAKERS
12/10/2021, 1:30 PMGeoffrey
12/11/2021, 9:18 PM