Prisma - The Easiest Way to Work with a Database in Next.js

  Рет қаралды 33,781

Prisma

Prisma

Күн бұрын

NOTE: This video shows an older version of Prisma Migrate.
Watch an updated video here: • Prisma - The Easiest W...
Please see our documentation for the latest version of migrate, including the latest flags to use: www.prisma.io/...
Prisma is an open source, next-generation ORM and database toolkit for JavaScript and TypeScript. It’s the easiest way to work with a database in Next.js.
Learn more about Prisma:
◭ Website: www.prisma.io
◭ Docs: www.prisma.io/...
◭ Quickstart: www.prisma.io/...
Subtitles for this video have been professionally transcribed. Prisma can provide the subtitles for your tech video as well - get in touch with us at events@prisma.io.

Пікірлер: 39
@zebapy
@zebapy 3 жыл бұрын
Prisma, Next, and Tailwindcss is the best stack right now I'd say
@chanlito_
@chanlito_ 3 жыл бұрын
Prisma & Next yes! Tailwind is debatable
@seanknowles5309
@seanknowles5309 3 жыл бұрын
@@l0g3sh Chakra uses tailwind :)
@geekySRM
@geekySRM 3 жыл бұрын
@@seanknowles5309 Nope Chakra doesnt use Tailwind, but yes it is inspired by some style choices from Tailwind
@frozen_tortus
@frozen_tortus 3 жыл бұрын
@Jack Saat next.js is utter shit compared to remix.
@frozen_tortus
@frozen_tortus 3 жыл бұрын
@Jack Saat Have a look couple of videos with an introduction and decide is it for you or not. I for one love it. Data fetching is so superior to any other solution, next.js included. From what I saw, the only thing close is svelte@next (which is not even ready).
@aseel1024
@aseel1024 3 жыл бұрын
imagine that u can build ur full-stack app with $0 cost! Nextjs + vercel + Prisma! nice 😍
@911madza
@911madza 3 жыл бұрын
guys at vercel are on next level 🔥🔥
@smakosh
@smakosh 3 жыл бұрын
A straight forward tutorial, we need more videos like this
@matthijndijkstra25
@matthijndijkstra25 3 жыл бұрын
This and Next together. Man, productivity through the roof!
@dixienormus8097
@dixienormus8097 3 жыл бұрын
Such an amazing find, I never heard of this before. I am loving it. Thanks for such an amazingly comprehensive video. New sub!
@daniellaerachannel
@daniellaerachannel 3 жыл бұрын
This is like gold! Thank you
@justinkim7202
@justinkim7202 3 жыл бұрын
Been following Prisma for a while now. It's really exciting stuff and I look forward to using it in a project in the near future.
@benevans1377
@benevans1377 3 жыл бұрын
Loved the video :) quick question: how do you have connections to multiple databases?
@PrismaData
@PrismaData 3 жыл бұрын
Thanks Ben. Currently we don't support the ability to interact with multiple databases with a single Prisma Client.
@benevans1377
@benevans1377 3 жыл бұрын
@@PrismaData after a lil bit of digging, I found this github.com/prisma/prisma/issues/2443#issuecomment-630679118 it's a little dirty but it is doable :)
@BrandonClapp
@BrandonClapp 3 жыл бұрын
We create 3 instances of PrismaClient here. Does prisma do connection pooling internally or is that creating a new db connection every time? Edit: Never mind, it absolutely does do pooling. The docs are superb btw.
@hamitaksln
@hamitaksln 3 жыл бұрын
Can you send the docs that mention about it
@sunstrike8943
@sunstrike8943 3 жыл бұрын
How to query 2tables ? With relationships
@adamtang5148
@adamtang5148 3 жыл бұрын
lovely type-safe in where part.
@manoellopes
@manoellopes 3 жыл бұрын
Simple and amazing.
@malikbrahimi7504
@malikbrahimi7504 3 жыл бұрын
When are migrations going to be production ready? That's the only thing holding me back at this point.
@tobbymarchal3140
@tobbymarchal3140 Жыл бұрын
How to deploy to vercel with SQLite?
@malikbrahimi9369
@malikbrahimi9369 3 жыл бұрын
When will migrations be stable? What other client would you specify other than prisma-client-js?
@malikbrahimi9369
@malikbrahimi9369 3 жыл бұрын
@Alberto Perdomo Awesome! Also wondering is there a way to specify cascade deletion with relationships
@theprantadutta
@theprantadutta 3 жыл бұрын
I am getting this error. /node_modules/@prisma/client/runtime/index.js Module not found: Can't resolve 'async_hooks' null Can anybody help?
@theprantadutta
@theprantadutta 3 жыл бұрын
@Joël Galeran thanks for answering.. It turned out I can't use Prisma Client in the frontend...I have to use it in the api or in the fetching method like getStaticProps or getServersideProps...Thanks, BTW
@shardyrs9263
@shardyrs9263 3 жыл бұрын
Awesome.
@MaksymMinenko
@MaksymMinenko 3 жыл бұрын
Why won't you upload the initial version to github? It would make more sense-to start with you from where you start, not from the final version...
@frozen_tortus
@frozen_tortus 3 жыл бұрын
You should flag this video as not relevant any longer, the current version of Prisma is using different flag names.
@holodeck_run
@holodeck_run 3 жыл бұрын
Thanks! I've updated the description with a link to the docs for the latest version of migrate. I'll also be recording a new version very soon :)
@emyboybeats4330
@emyboybeats4330 3 жыл бұрын
Can I use it with javascript?
@MagicSwordYT
@MagicSwordYT 3 жыл бұрын
breeze
Client-Side VS Server-Side Rendering - Data Fetching with Next.js
13:20
freeCodeCamp Talks
Рет қаралды 183 М.
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 99 МЛН
How To Get Married:   #short
00:22
Jin and Hattie
Рет қаралды 13 МЛН
Minecraft Creeper Family is back! #minecraft #funny #memes
00:26
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Dylan Beattie
Рет қаралды 159 М.
Prisma 2 (Node JS ORM) Crash Course
1:17:37
Laith Academy
Рет қаралды 55 М.
Microservices are Technical Debt
31:59
NeetCodeIO
Рет қаралды 165 М.
iPhone 16 Ultimate Battery Test!
13:25
Mrwhosetheboss
Рет қаралды 3,4 МЛН
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,6 МЛН
The Story of Next.js
12:13
uidotdev
Рет қаралды 578 М.
How To Write Raw SQL w/ Type Safety in Prisma ORM
9:16
Prisma
Рет қаралды 3,7 М.
I built the same app 10 times // Which JS Framework is best?
21:58
Fireship
Рет қаралды 2,5 МЛН
8 Design Patterns | Prime Reacts
22:10
ThePrimeTime
Рет қаралды 415 М.
大家都拉出了什么#小丑 #shorts
00:35
好人小丑
Рет қаралды 99 МЛН