Prisma Next Queries

prisma/prisma-next/skills/prisma-next-queries

by prisma55458c441d2cNo license415 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated 6 weeks ago

Write Prisma Next queries for Postgres, SQLite, or Mongo — pick a lane (Postgres/SQLite `db.orm.<Model>` + `db.sql.<table>`; Mongo `db.orm.<root>` + `db.query.from(...)` pipeline builder), filter / project / sort / paginate, eager-load with `.include(...)`, Postgres/SQLite `db.transaction(...)`, Postgres/SQLite ORM `.aggregate(...)`, Mongo aggregations via query builder, namespace-aware accessors (`db.orm.<ns>.<Model>`, `db.sql.<ns>.<table>`). Triggers: query, where, match, select, project, orderBy, take, skip, include, lookup, first, all, count, aggregate, group, create, update, delete, upsert, returning, transaction, db.close, script teardown, variant, polymorphism, drizzle-style, kysely-style. Notes: `.all()` is a Thenable (just `await` it), iterators are single-use (`RUNTIME.ITERATOR_CONSUMED`), Postgres `count` is `number` while sum/avg/min/max are `number | null`, ranges use chained `.where()` or `and(...)` (no `.between(...)`).

ArchivedInstructions onlySoftware Development

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
mongo.md11.8 KBtext/markdown
postgres.md18.7 KBtext/markdown
SKILL.md14.8 KBtext/markdown

Source and attribution

Source:prisma/prisma-nextinskills/prisma-next-queriesat commit55458c4

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal