Anoushk
01/01/2022, 2:04 PMsupabase.table('users').insert({"dao":str(member.guild.id),"username":str(member.name),"user_id":str(member.id)}).execute()
print(data3)
this is the insert qery
({'message': 'column users.uid does not exist', 'code': '42703', 'hint': 'Perhaps you meant to reference the column "users.id".', 'details': None}, None)
this is response, weird thing is im calling user_id not uid idk why its refrencing thatJ0
01/01/2022, 2:05 PMAnoushk
01/01/2022, 2:07 PM! Class self.PythonAddict = True
01/01/2022, 2:09 PMAnoushk
01/01/2022, 2:09 PMJ0
01/01/2022, 2:27 PMAnoushk
01/01/2022, 4:58 PMJ0
01/02/2022, 7:24 AMAnoushk
01/02/2022, 7:24 AMJ0
01/02/2022, 7:25 AMAnoushk
01/02/2022, 7:26 AMktosiek
01/02/2022, 10:07 AMAnoushk
01/02/2022, 11:41 AMJ0
01/02/2022, 12:09 PMAnoushk
01/02/2022, 12:11 PMJ0
01/02/2022, 12:16 PMdreinon
01/02/2022, 1:07 PMJ0
01/02/2022, 1:09 PManand
01/02/2022, 1:16 PMsession.params
to include filters and the such.execute
them, we don't clear the old params outpy
In [12]: client.from_("test").select("*").execute()
Out[12]:
([{'id': 7,
'created_at': '2021-10-02T16:20:51+00:00',
'names': 'Abcdef',
'roll_numbers': '10115'}, ...
py
In [14]: client.from_("test").select("*").eq("non-existing-col", "1").execute() # errors out as expected
Out[14]:
({'message': 'column test.non-existing-col does not exist',
'code': '42703',
'hint': None,
'details': None},
None)
In [15]: client.from_("test").select("*").eq("id", "1").execute() # SHOULDN'T error, but...
Out[15]:
({'message': 'column test.non-existing-col does not exist',
'code': '42703',
'hint': None,
'details': None},
None)
J0
01/02/2022, 1:18 PManand
01/02/2022, 1:20 PMhttps://anand2312.tech/img/uploads/firefox_AkmPmFJjHk.png▾
Anoushk
01/02/2022, 1:26 PMdreinon
01/02/2022, 2:13 PMAnoushk
01/02/2022, 2:22 PMJ0
01/02/2022, 2:24 PMAnoushk
01/02/2022, 2:26 PMdreinon
01/02/2022, 4:18 PMleynier
01/02/2022, 4:34 PMAnoushk
01/03/2022, 7:30 AMJ0
01/03/2022, 11:27 AMmatch
command?Anoushk
01/03/2022, 11:56 AMleynier
01/03/2022, 3:08 PMJ0
01/03/2022, 3:09 PM