Prisma Next Queries

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

作者 prisma55458c441d2c無授權條款415 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫6 週前更新

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(...)`).

已封存僅含說明Software Development

僅公開檔案列表。將技能安裝到工作區後即可檢視檔案內容。

路徑大小類型
mongo.md11.8 KBtext/markdown
postgres.md18.7 KBtext/markdown
SKILL.md14.8 KBtext/markdown

來源與署名

來源:prisma/prisma-next位於skills/prisma-next-queries提交55458c4

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架