Home

prisma-ltree

PostgreSQL ltree for Prisma Next

I built prisma-ltree as an extension for Prisma Next, the rewrite currently in public beta. It adds PostgreSQL ltree support with type-safe query operators that map to native SQL.

If you store hierarchical data in Postgres, categories, org charts, file paths, ltree is the right column type. This extension lets you use it from Prisma Next without dropping to raw SQL for every tree query.

prisma-ltree.procka.org