BM25 full-text search for Prisma ORM 8 on PostgreSQL, powered by ParadeDB's pg_search.
pnpm add @prisma/orm-extension-paradedbconst rows = await db.orm.public.Item.where((item) => item.description.paradeDbMatch('laptop'))
.orderBy((item) => item.id.paradeDbScore().desc())
.limit(10)
.all();The user guide covers installing the package, declaring a BM25 index, the search functions, and how the extension installs pg_search in your database. It is also the page npm shows for the package.
| Path | What it is |
|---|---|
packages/orm-extension-paradedb |
The published package, @prisma/orm-extension-paradedb. |
examples/paradedb-demo |
A demo app that runs every search function against ParadeDB in Docker. |
The package moved here from the Prisma ORM repository, with its history. Applications see no change: the package keeps its name and its entrypoints.
See CONTRIBUTING.md to set up the repository and run its checks, and DEVELOPING.md for how the code is laid out and the rules it follows. Security reports follow SECURITY.md.