geometry not available on 'drizzle-orm/pg-core'
The documentation says that the geometry from PostGIS can be imported from the pg-core library, but I am unable to.
5 Replies
Are you on the latest?
It is available on latest (https://github.com/drizzle-team/drizzle-orm/blob/main/drizzle-orm/src/pg-core/columns/postgis_extension/geometry.ts)
GitHub
drizzle-orm/drizzle-orm/src/pg-core/columns/postgis_extension/geome...
Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅 - drizzle-team/drizzle-orm
Ok, I got the latest version of drizzle and was able to access geometry.
When I try to follow the examples, I get the error:
Unsafe call of an
error
type typed value.
I am using the t3-stack with drizzle, I don't know if the way any of it is setup is causing this issue.I have never seen this error but can you share the stack trace?
Maybe we will find what is throwing this error
nvm, it was just an eslint issue. I just had to update all my packages.