Open bastiaanv opened 1 year ago
That's an expected result. Supabase uses PostgREST as API server which uses RETURNING
for all insert sql statements, but Wrappers doesn't support RETURNING
clause at this moment. Would it possible encapsulate the insert into a function, and call that function instead?
Yes, that worked. Thanks!
Do you think postgrest can be configured to work without the returning?
I have the same issue. I resolved it by using the official ClickHouse JavaScript client for inserting data.
Bug report
Describe the bug
When inserting data via Supabase-js / Postgrest, I get a 500 error response with the following body:
To Reproduce
Clickhouse table:
Postgres table:
You can reproduce this error by trying to insert the following data (but any data will do):
Expected behavior
To insert the data and not give me an error
System information