justindra
02/27/2022, 4:40 AMkysely
with your kysely-data-api
plugin. It's pretty awesome so far, but I'm struggling to send through a point value. I'm using the PostGIS extension and one of my fields is a Point.
Here is the error I'm getting
BadRequestException: ERROR: column "location" is of type point but expression is of type character varying
Hint: You will need to rewrite or cast the expression.
I did try sending it directly through the data-api instead of using the Kysely wrapper and it seems to work with no issues. I have a feeling it's being sent as a string instead of as a point.Noah D
02/27/2022, 8:05 AMjustindra
02/28/2022, 7:07 PM