You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried for when the row exists and when it does not; Upsert and Insert fail to update or create the record respectively. The strangest thing is that no error is reported, and with "representation", I always get an empty array.
Expected behavior
The desired row should be inserted. In the case of already existing by primary key, upserted.
Screenshots
N/A
System information
OS: macOS
Go version 1.21.11
Additional context
I do notice there are no tests including Insert or Upsert, perhaps adding those would help be a cross check against this bug into the future.
The text was updated successfully, but these errors were encountered:
Bug report
Describe the bug
As the title states, Insert and Upsert do not work - they fail to create and/or update records respectively.
To Reproduce
Try to call
Insert
orUpsert
on any postgres table usingsupabase-go
. I've tried the following combinations:I've tried for when the row exists and when it does not;
Upsert
andInsert
fail to update or create the record respectively. The strangest thing is that no error is reported, and with "representation", I always get an empty array.Expected behavior
The desired row should be inserted. In the case of already existing by primary key, upserted.
Screenshots
N/A
System information
Additional context
I do notice there are no tests including
Insert
orUpsert
, perhaps adding those would help be a cross check against this bug into the future.The text was updated successfully, but these errors were encountered: