Use Prisma and forget SQL (Beginner Tutorial)

  Рет қаралды 593

Luca Restagno — Solopreneur & Indie Hacker

Luca Restagno — Solopreneur & Indie Hacker

Күн бұрын

Пікірлер: 18
@SimonHoiberg
@SimonHoiberg 9 ай бұрын
Great tutorial!
@lucarestagno
@lucarestagno 9 ай бұрын
Thanks Simon! 🙌 Is the format good enough? I'm always willing to improve my content.
@TheCeomaverick
@TheCeomaverick 9 ай бұрын
excellent tutorial. thanks
@lucarestagno
@lucarestagno 9 ай бұрын
I am glad you liked it Avinash! If there's anything you'd like to learn, please let me now 🙌
@ahmed_5g
@ahmed_5g 2 ай бұрын
can you add firebase integration it's still the most popular database solution and more stable than supabase and easier to use + you will attract a new market of firebase user's
@lucarestagno
@lucarestagno 2 ай бұрын
Hey there! Prisma can be used with many SQL based databases like Postgres, MySQL, SQL Sever and others, and with MongoDB. Firestore is a different kind of realtime database and there’s a dedicated JavaScript SDK so you’ll not need Prisma at all : ) I use DigitalOcean managed Postgres database, so no need to use Supabase : )
@ainarsk
@ainarsk 8 ай бұрын
Would you use Prisma for Mongo? I have a project where NoSQL would be better fit.
@lucarestagno
@lucarestagno 8 ай бұрын
hey @ainarsk I've never used Prisma with MongoDB, but I have friends who did that, and it seems to be working well. You can get a bit more control over the data you read and write to MongDB, with types. So yes, I would use it!
@md.redwanhossain6288
@md.redwanhossain6288 9 ай бұрын
Use Drizzle and thank me later. Drizzle is almost 4 times faster than prisma.
@lucarestagno
@lucarestagno 9 ай бұрын
Do you watch videos about Prisma just to comment to use Drizzle? 😄 Prisma is very comfortable to use and the performance is absolutely fine.
@nikolasburk
@nikolasburk 8 ай бұрын
Nikolas from Prisma here :) Out of curiosity, where do you get this claim from? If you're referring to the Drizzle benchmarks on their site, please check out the PRs in the benchmark repo. We found that it uses a defective Preview feature of Prisma ORM which causes the huge difference in performance in the results. If you replace this broken Preview feature with a raw query (as we recommend in our docs), you end up with similar performance of Prisma and Drizzle.
@JohnBuildWebsites
@JohnBuildWebsites 9 ай бұрын
Wait what? The title of this is a bit jarring, and the total opposite of what I would normally recommend. I can only agree with others that have already commented about Drizzle being a better option in 2024, mainly as it is closer to SQL, which a decent dev really should aim to get comfortable with, while still having a great DX of an ORM like Prisma.
@lucarestagno
@lucarestagno 9 ай бұрын
Thanks for your comment. This video is for people willing to learn Prisma, and maybe not completely comfortable with using SQL. And it is not intended to say that Prisma is better than other solutions.
@JohnBuildWebsites
@JohnBuildWebsites 9 ай бұрын
@@lucarestagno It is likely a great video for that purpose, but that is not really what the title says or implies. I understand the need for click-baity titles to get views, but I think this one is misjudged (and I think the comments probably highlight this ). Video looks good otherwise, and I wish you luck going forward!
@lucarestagno
@lucarestagno 9 ай бұрын
@@JohnBuildWebsites thanks! I don’t think the title is misleading, since with Prisma you can basically get rid of using SQL to create tables, and CRUD operations. I updated the title to remove 2024 and include tutorial for beginners. Thanks for the feedback.
@alvinsmith7892
@alvinsmith7892 9 ай бұрын
prisma is super slow, performance is very bad
@lucarestagno
@lucarestagno 9 ай бұрын
I’ve been using prisma for years and never had performance issues. Especially with the latest versions, the performance have been improved a lot. The problem might be somewhere else.
@nikolasburk
@nikolasburk 8 ай бұрын
Hey there, Nikolas from Prisma here! We've invested a lot in performance recently and would love to learn about any cases where you still find Prisma ORM to be too slow for your application so that we can fix these! Don't hesitate to open an issue :)
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 445 М.
you need to learn SQL RIGHT NOW!! (SQL Tutorial for Beginners)
24:25
NetworkChuck
Рет қаралды 1,6 МЛН
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 224 М.
Is Drizzle Really Better Than Prisma?
20:15
Web Dev Simplified
Рет қаралды 92 М.
How to set up Prisma with Next.js and Postgres!
17:40
Build SaaS with Ethan
Рет қаралды 42 М.
Learn Drizzle ORM in 13 mins (crash course)
14:00
Neon
Рет қаралды 34 М.
I Have A New Favorite Database Tool
5:46
Theo - t3․gg
Рет қаралды 124 М.
Web Layouts with ChakraUI (Beginner Tutorial 2024)
9:41
Luca Restagno — Solopreneur & Indie Hacker
Рет қаралды 263
Installing MySQL and Creating Databases | MySQL for Beginners
12:04
Alex The Analyst
Рет қаралды 741 М.
5 Hidden Windows Features You Should Be Using in 2025!
8:05
Kevin Stratvert
Рет қаралды 110 М.