Problem when using postgis .

I am trying to use geometry datatype in schema.prisma . But it shows error unsupported datatype geometry . Then i saw one solution like this pickup_geom Unsupported("geometry(Point, 4326)")? .. It looks fine until i try to insert a row with prisma create function
1 Reply
Mocha
Mocha16mo ago
Prisma doesn't support PostGIS but you can still insert with raw SQL, and for reading, you can SELECT ST_AsGeoJSON(pickup_geom)
Want results from more Discord servers?
Add your server