Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
21.44k
stars
484
forks
source link
[BUG]: Postgis `geometry` query select fails when using `with` #2526
Open
BryanAbate opened 1 week ago
What version of
drizzle-orm
are you using?0.31.2
What version of
drizzle-kit
are you using?0.22.6
Describe the Bug
If we have two tables like:
It works fine to select
locations
by themselves likeclient.query.locations.findFirst(...)
but if we do a join and try a query like:Then it fails with the following error:
Expected behavior
No response
Environment & setup
No response