This Trick Makes My Favorite Database Tool Even Better

preview_player
Показать описание
I discovered that you can actually write DrizzleORM queries much like Prisma if you declare relations. I find this super nice because it makes trying out another ORM that you might like very easy.

Рекомендации по теме
Комментарии
Автор

If the only winning factor for Drizzle over Prisma is performance, then it's a matter of time till Prisma catch-up. And Prisma actually did it.

mhadi-dev
Автор

Hello Josh! I really love all your content revolving around Drizzle ORM! Do you have a video/walkthrough which utilizes Drizzle instead of Prisma, planned in the future? Keep up the great work 😊

poocham
Автор

I see DrizzleORM as a hobby like ORM. It is way easier for me to use its paradigm and the dx feels better. Even though it is currently faster and lighter than prisma, the prisma labs work really hard on improving this aspect, they have the whole team and big sponsor support. One good point is that DrizzleORM supports planetscale's serverless adapter

tentacle
Автор

Great content as always. It would be awesome if you could do a video creating a complete application using Drizzle for the database

pablogtzgileta
Автор

So glad you showed this! Just happened to be writing a project in this stack ❤

JEM_GG
Автор

drizzle is getting truly amazing, hope it gets more attention/funding/help so that the creators or collaborators can continue working on it and fixing issues

alvaroaquije
Автор

the issue with drizzle is many to many relation the syntax is pure garbage

noext
Автор

in the case of foriegn key issues, i usually create views in planetscale for my purposes. so i can query from that view which basically some joins on tables with keys .

sandrinjoy
Автор

What is funny is that I just started using drizzle and I discovered this before you mate! :p maybe I should start my own youtube channel haha.
Keep up the good work, btw I used both prisma and drizzle and raw queries with drizzle where I have to optimize.
I generate the drizzle schema out of the generated database from prisma, and it's relationships...
Then I can use drizzle or prisma wherever I want or both.

jonatthu
Автор

Josh please make next js, drizzle and TypeScript crash course please, otherwise you're doing a great work, thank you for everything

youssefbedhief
Автор

I have tried using drizzle two times now.
The first time I had an issue that was preventing the creation of migrations, that got fixed eventually.
And in the second time I found out it doesn't support pushing migrations with a postgres database.

I think it still needs some maturing, but overall I was happy with the api and generating more efficient queries.

wfl-junior
Автор

It's becoming Django and that's good!

wagyumedia
Автор

Fatastic. Im wating for the Dashboard Project. Lets Go

daniel_goncalves
Автор

Josh please make next js and also typescript crash course

realcontentfun
Автор

Can we already use drizzle with next-auth? i've been waiting for so long :(

jeanpierrewebdev
Автор

The only big problem with drizzle right now is the docs. It's bad and missing many parts.

anonanon
Автор

Have you used server actions on production yet? I just started using them on a new project and its hard not to want to use them for everything 😂

JEM_GG
Автор

"if you were on twitter you could write 1000 tweets" not if the dude running the show has anything to say about it lmao

tezismith
Автор

Is it possible to create completely new table programatically using Drizzle?
Is it possible to change already existing table column without loosing your current column data?

Ga-
Автор

How can I setup drizzle with next-auth, There doesn’t seem to be an adapter yet?

HenryOsim
visit shbcf.ru