@vertexa/prisma-query-compiler-wasm
v7.8.6
Published
Fork of @prisma/query-compiler-wasm — WebAssembly build of the Prisma Query Compiler. Compiles Prisma queries into query plans for execution via driver adapters. Adds PostGIS spatial filters (near, within, intersects, distanceFrom) and GeoJSON serializati
Maintainers
Readme
@vertexa/prisma-query-compiler-wasm
Fork of @prisma/query-compiler-wasm with PostGIS / Geometry support.
WebAssembly build of the Prisma Query Compiler — compiles Prisma queries into query plans executed by the Prisma Client query interpreter via driver adapters.
Ships 5 database providers × 2 optimization modes:
| Provider | fast | small |
| --- | --- | --- |
| postgresql | ✓ | ✓ |
| sqlite | ✓ | ✓ |
| mysql | ✓ | ✓ |
| sqlserver | ✓ | ✓ |
| cockroachdb | ✓ | ✓ |
fast— optimized for runtime performance (-O4)small— optimized for bundle size (-Os)
What's different from upstream?
The fork adds PostGIS geometry support to the query compiler:
Geometry/Geographyscalar type handling in query planning- Spatial filters:
near,within,intersects - Spatial orderBy:
distanceFrom - GeoJSON ↔ EWKB serialization fix for
intersectsfilter (v7.8.5)
Internal package
This package is consumed internally by @vertexa/prisma-client. You should
not depend on it directly — install @vertexa/prisma-client instead.
License
Apache-2.0
