prisma-next-queries
Write Prisma Next Queries Across Database Targets
Prisma Next query APIs differ across Postgres, SQLite, and Mongo, which makes correct lane selection difficult. This skill provides target-specific patterns for typed reads, writes, relations, aggregates, pagination, and transactions.
๋ด ์์ด์ ํธ๋ก ์ค์น
์ด ์์ฒญ์ ์์ด์ ํธ์ ๋ณต์ฌํ์ธ์. ๊ณต์ Skill ํ์ด์ง์ ๋งค๋ํ์คํธ๊ฐ ํฌํจ๋์ด ์์ต๋๋ค.
Review the Skillstore skill "prisma-next-queries" from https://skillstore.io/skills/prisma-prisma-next-queries.md and its manifest at https://skillstore.io/api/skills/prisma-prisma-next-queries/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.์์ด์ ํธ๋ ๊ณ์ํด์ ๊ณํ์ ํ์ํ๊ณ ๋ณด์ ์ ์ฑ ์์ ์๊ตฌํ๋ ํ์ธ์ ์์ฒญํด์ผ ํฉ๋๋ค.
์์ด์ ํธ๊ฐ ์ฝ๊ธฐ ์ฌ์ด ๋ฆฌ์์ค
AI ์์ด์ ํธ, ํฌ๋กค๋ฌ, ์คํฌ๋ฆฝํธ๊ฐ ์ ์ฒด ํ์ด์ง ๋์ ์ ๋ฆฌ๋ ์ปจํ ์คํธ๋ง ํ์ํ ๋ ์ด ๋งํฌ๋ฅผ ์ฌ์ฉํ์ธ์.
ํ ์คํธํด ๋ณด๊ธฐ
"prisma-next-queries" ์ฌ์ฉ ์ค์ ๋๋ค. Fetch the newest posts with authors from a Postgres project.
์์ ๊ฒฐ๊ณผ:
Uses the Postgres ORM, includes the author relation, applies descending creation order, limits results, and awaits the collection once.
"prisma-next-queries" ์ฌ์ฉ ์ค์ ๋๋ค. Count Mongo posts by category for one author.
์์ ๊ฒฐ๊ณผ:
Uses the Mongo query builder with an author match, category grouping, count accumulator, plan construction, and runtime execution.
"prisma-next-queries" ์ฌ์ฉ ์ค์ ๋๋ค. Create a user and post atomically.
์์ ๊ฒฐ๊ณผ:
Uses one Postgres transaction and its shared context, while noting that the Mongo facade does not support this transaction workflow.
๋ณด์ ๊ฐ์ฌ
์์ All 103 static findings are false positives caused by Markdown code notation, fixed relative imports, and Prisma query terminology. No command execution, unsafe filesystem access, system reconnaissance, prompt injection, or malicious intent was found.
์ํ ์์ธ
โ๏ธ ์ธ๋ถ ๋ช ๋ น์ด (50)
๐ ํ์ผ ์์คํ ์ ๊ทผ (6)
์ด ๋ณด๊ณ ์ ๊ณต์ ๋ฐ ์ธ์ฉ
๋ฒ์ ์ด ์ง์ ๋ ํ๊ฐ ๋ณด๊ณ ์, ์ค๋ฆฝ ๋ฐฐ์ง, ์๋ฒ ๋ ์นด๋ ๋ฐ ์ธ์ฉ์ ๊ณต์ ํ์ธ์. Skillstore๋ ๊ทผ๊ฑฐ๋ฅผ ๋ณด๊ณ ํ์ง๋ง ์ด Skill์ ์์ ์ฌ๋ถ๋ฅผ ํ๋จํ์ง ์์ต๋๋ค.
๋ณด๊ณ ์ ๋งํฌ ๋ณต์ฌ
https://skillstore.io/skills/prisma-prisma-next-queries/audits/1?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown ๋ฐฐ์ง
[](https://skillstore.io/skills/prisma-prisma-next-queries?utm_source=security_passport_badge)HTML ๋ฐฐ์ง
<a href="https://skillstore.io/skills/prisma-prisma-next-queries?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/prisma-prisma-next-queries/security.svg" alt="Skillstore security assessment" loading="lazy"></a>์๋ฒ ๋ ์นด๋
<iframe src="https://skillstore.io/embed/skills/prisma-prisma-next-queries.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>ํ์ ์ธ์ฉ (APA ยท BibTeX ยท CFF)
APA ์ธ์ฉ
prisma. (2026). prisma-next-queries security audit report (audit version 1) [Author version unspecified]. Skillstore. https://skillstore.io/skills/prisma-prisma-next-queries/audits/1BibTeX ์ธ์ฉ
@techreport{prisma-prisma-prisma-next-queries-2026,
author = {prisma},
title = {prisma-next-queries security audit report (audit version 1)},
institution = {Skillstore},
year = {2026},
number = {1},
url = {https://skillstore.io/skills/prisma-prisma-next-queries/audits/1},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "prisma-next-queries security audit report (audit version 1)"
version: "unspecified"
type: report
authors:
- name: "prisma"
date-released: "2026-08-17"
url: "https://skillstore.io/skills/prisma-prisma-next-queries/audits/1"
identifiers:
- type: other
value: "skillstore:prisma-prisma-next-queries:audit:1"
description: "Skillstore immutable audit report identifier"
Skillstore ์ ์
์ด ์ ์์ ์ด์ ์ฆ๊ฑฐ ์ ๋ขฐ๋: ์ค๊ฐ๋ง๋ค ์ ์๋ ๊ฒ
Build application queries
Create typed reads, writes, relation includes, and pagination for an application service.
Create database analytics
Build Postgres aggregates or Mongo pipelines with grouping, projection, and joins.
Translate query styles
Convert familiar Prisma, Drizzle, or Kysely patterns into supported Prisma Next APIs.
์ด ํ๋กฌํํธ๋ฅผ ์ฌ์ฉํด ๋ณด์ธ์
Write a Prisma Next query for [target] that returns [records] filtered by [condition].
Create a [target] query for [model] with [relation], selected fields, stable sorting, and [page size] results.
Build a Prisma Next [Postgres or Mongo] aggregation that groups by [field] and calculates [metrics].
Design a Prisma Next workflow for [operations], using transactions where supported and explaining target limitations.
๋ชจ๋ฒ ์ฌ๋ก
- Confirm the runtime target before choosing model names, filters, or query lanes.
- Use the ORM for standard CRUD and relations, then use builders for unsupported shapes.
- Apply filters to mutations and consume each asynchronous result only once.
ํผํ๊ธฐ
- Do not mix Postgres model accessors with Mongo collection accessors.
- Do not use unrestricted reads when a single-row method or bounded page is required.
- Do not invent raw SQL, Mongo transactions, or ORM aggregate APIs that are unavailable.
์์ฃผ ๋ฌป๋ ์ง๋ฌธ
Which databases does this skill cover?
Does it generate data contracts?
When should I use the ORM?
When should I use a lower-level builder?
Does Mongo support transactions through this facade?
How should I consume all query results?
๊ฐ๋ฐ์ ์ธ๋ถ ์ ๋ณด
์์ฑ์
prisma๋ผ์ด์ ์ค
MIT
Skillstore ๋ฆฌ๋น์
r1
๋ฒ์ ์๋ด
์์ฑ์๊ฐ ๋ฒ์ ์ ์ ์ธํ์ง ์์์ต๋๋ค.
๋ฆฌํฌ์งํ ๋ฆฌ
https://github.com/prisma/prisma-next/tree/e0e739ca6a0e076c97733ef30ec3bf7b1f43a27b/skills/prisma-next-queries์ฐธ์กฐ
2b5eb09b8a8d063f44990dafee9dfeaa98332939
์ ์ง๋ณด์ ์ต์ ์ฑ
2026. 8. 17.
์ฌ์ฉ๋
0 ๋ค์ด๋ก๋ ยท 0 ์กฐํ
ํ์ผ ๊ตฌ์กฐ