Prisma
prisma.io › graphql
Simple Database Access in GraphQL servers
Query data from MySQL, PostgreSQL & SQL Server databases in GraphQL with Prisma – a better ORM for JavaScript and TypeScript.
Reddit
reddit.com › r/graphql › graphql and prisma
r/graphql on Reddit: Graphql and Prisma
July 29, 2021 -
Hi,
I've asked this question on stack overflow but got no answers so maybe i'll have a better chance here.
I'm having a hard time understanding what graphql can achieve on top of prisma besides having a singular endpoint.
I've been hearing that the main selling point of graphql is the fact that you are able to query for the specific fields you want to receive, but can't that also be achieved with prisma using the "select" property?
const users = await user.findMany({
select: {
email: true,
},
}); Thank you for your answers!
Top answer 1 of 3
5
Graphql is for the public. It's the API random people on the internet will be using. Prisma is the API just for you as a developer. You cannot expose generated prisma models to the public. First script kiddie who would find out would delete your DB and ransom all the data for fat bitcoin payment. This is where a custom built Graphql API comes into play. You build it to allow your app users just the operations and mutations you explicitly define. If you make it right your DB should be safe from script kiddies.
2 of 3
3
You are mixing a lot of different layers together. GraphQL is a technology for easily querying graphs focussed on browser-to-server comms. How you get that data is a completely different topic. Prisma can be such a tool(server-to-server), it can connect to your relational Database and query it. Where Prisma shines is the ability to make very complex relational queries, and providing typescript type safety when querying multiple relations deep
Building a Serverless GraphQL API with Prisma, Apollo & PlanetScale - Part Ⅰ Aug 26, 2022
r/graphql 3y ago
What's the difference between apollo-server, express-graphql, graphqljs,Prisma, etc? Jan 24, 2019
r/graphql 7y ago
01:31:42
Building GraphQL APIs with Prisma - Eve Porcello | Prisma Day 2021 ...
12:31
Build a GraphQL Apollo Server with Node.js, Prisma, and SQLite ...
End-To-End Type-Safety with GraphQL, Prisma & React: API Prep - ...
End-To-End Type-Safety with GraphQL, Prisma & React: GraphQL API ...
59:46
GraphQL Crash Course with Prisma, TypeScript, and Node.js in 2024 ...
47:54
GraphQL Crash Course with Prisma ,React js ,TypeScript ,Node js ...
DEV Community
dev.to › doylecodes › graphql-basics-part-2---prisma-the-how-1356
GraphQL Basics: Part 2 - Prisma (The How) - DEV Community
March 18, 2019 - Generating prisma.graphql Ok, so now you should go ahead and run prisma generate. Following that, you should see a prompt in your terminal that we are "Generating schema" and finally "Saving Prisma GraphQL schema (SDL) at /someplace". You should also see the new structure in your project!
GitHub
github.com › glennreyes › prisma
GitHub - glennreyes/prisma: ⚡️ Prisma turns your database into a realtime GraphQL API
It enables a layered architecture ... GraphQL database proxy, Prisma provides a GraphQL-based abstraction for your databases enabling you to read and write data with GraphQL queries and mutations....
Author glennreyes
npm
npmjs.com › package › prisma-nestjs-graphql
prisma-nestjs-graphql - npm
May 30, 2026 - Generate object types, inputs, args, etc. from prisma schema file for usage with @nestjs/graphql module. Latest version: 21.2.0, last published: a year ago. Start using prisma-nestjs-graphql in your project by running `npm i prisma-nestjs-graphql`. There are 10 other projects in the npm registry ...
» npm install prisma-nestjs-graphql
Published May 11, 2025
Version 21.2.0
Typegraphql
typegraphql.com › docs › prisma.html
Prisma Integration · TypeGraphQL
To read about all the typegraphql-prisma features, like exposing selected Prisma actions or changing exposed model type name, as well as how to write a custom query or how to add some fields to model type, please check the docs on the dedicated website.
Mermaid
mermaid.js.org
Mermaid | Diagramming and charting tool
Create diagrams and visualizations using text and code.
Lunawen
lunawen.com › graphql › 20210916-luna-tech-graphql-db-integration
GraphQL integrate with Prisma - Luna Tech
September 16, 2021 - We are going to use Prisma Client to build the connection, it acts as an interface to the db. You can write to the context when the GraphQL server itself is being initiated.