<@U01MV4U2EV9> Just trying to use `kysely` with yo...
# help
j
@thdxr Just trying to use
kysely
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
Copy code
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.
n
Hey justin, i had a similar issue with uuid being a different type than i needed using kysely, i think you should be able to cast like i did but for the point type instead to achieve what you need https://serverless-stack.slack.com/archives/C01JG3B20RY/p1645845248838439?thread_ts=1645845248.838439&amp;cid=C01JG3B20RY
j
Thanks @Noah D! That fixed the issue!