Тёмный

Learn Drizzle ORM in 13 mins (crash course) 

Neon
Подписаться 2,3 тыс.
Просмотров 28 тыс.
50% 1

Опубликовано:

 

21 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 46   
@neondatabase
@neondatabase 7 месяцев назад
If you enjoyed watching this video, make sure to like and subscribe so you don't miss out on any future videos. If you'd like to learn more about using Drizzle with Preview Environments, check out our previous video: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-EOVa68Uviks.html Drizzle ORM Docs: orm.drizzle.team/docs/overview Neon Serverless Driver: github.com/neondatabase/serverless
@bengribbin6440
@bengribbin6440 7 месяцев назад
Excellent and timely tutorial! Would love to see an example of using custom types (adding vector embeddings) through drizzle to Neon too
@neondatabase
@neondatabase 7 месяцев назад
Glad you found it helpful! > Would love to see an example of using custom types (adding vector embeddings) through drizzle to Neon too This is a great idea! Thank you for sharing your feedback - Mahmoud
@DanielDrejerDK
@DanielDrejerDK 7 месяцев назад
Well done! Only thing I would have loved to see along with this, would be how to retrieve only a few specific columns, rather than everything. :)
@neondatabase
@neondatabase 7 месяцев назад
If you'd like to do a partial select, you can do it this way const result = await db.select({ field1: users.id, field2: users.name, }).from(users); orm.drizzle.team/docs/select#partial-select
@CompleteReality
@CompleteReality 7 месяцев назад
Very helpful for understanding Drizzle, thanks!
@neondatabase
@neondatabase 7 месяцев назад
We're glad you found it helpful!
@siyedyoussef3202
@siyedyoussef3202 7 месяцев назад
very informative video and on the target 🎯 love too see more of this types of videos
@neondatabase
@neondatabase 7 месяцев назад
We're glad you found it helpful!
@srijonp4
@srijonp4 7 месяцев назад
Nice, I am going to try drizzle now.
@marta84-k5i
@marta84-k5i 5 месяцев назад
thank you, this was a nice one, hope there is another how relationships works in drizzle, tyy
@eliastouil7686
@eliastouil7686 3 месяца назад
This is a great intro thank you! Came here from Fireship's vid.
@PlayerRPG85
@PlayerRPG85 6 месяцев назад
This is the best intro to Drizzle I've ever seen
@anirudhsinghbhadauria4034
@anirudhsinghbhadauria4034 6 месяцев назад
Nice file management!
@VincentFulco
@VincentFulco 7 месяцев назад
very cool and practical. Thanks!
@javierfuentesmora1814
@javierfuentesmora1814 5 месяцев назад
do you need to close the db connection ?
@JissJoy-zt1is
@JissJoy-zt1is 3 месяца назад
Great stuff! It was really informative. I had a slightly different question. 😅 The editor folder icons and theme, which extension are you using? I really liked em! Would be glad if you could share it.
@abhinasregmi9742
@abhinasregmi9742 5 месяцев назад
You look so happy 😊 😊
@haydonge5328
@haydonge5328 26 дней назад
lots content for drizzle have been changed. Hope to update it with learning course.
@eliuddyn
@eliuddyn 7 месяцев назад
Amazing 🔥🔥
@TristanRemy
@TristanRemy 7 месяцев назад
Awesome content! Just one question which might look stupid : in your package.json, why use bun for migrate/seed and bunx for format/lint with biome being a devDependency ?
@neondatabase
@neondatabase 7 месяцев назад
Not stupid at all! This is how it's recommended to use in the Biome docs biomejs.dev/guides/getting-started/#usage The package is installed in the project so that the editor can format on save. I like including it in the project so that if someone clones the repo they can easily get up and running - Mahmoud
@faizanhaider
@faizanhaider 6 месяцев назад
Coming from #fireship 😉
@raine-works
@raine-works 3 месяца назад
What theme and icons are you using for VSCode?
@mouradbougarne1162
@mouradbougarne1162 6 месяцев назад
I tried to ask on their Discord server but no answer. Does drizzle support add unique constraint based on two columns? `To make a column unique only based on another column, a playlist title is unique per user ID.
@omkar._.k
@omkar._.k 6 месяцев назад
Hello Neon I just wanted to know something. When I generat a new db migrations like you showed it at 4:37 , it is not accepting the syyntax of sql file . I have installed postgres correctly and also not missing any steps in dependencies. Using VS Code . I hope you can help with a reply!!
@neondatabase
@neondatabase 6 месяцев назад
Hey! > it is not accepting the syyntax of sql file Do you mind sharing more details? What kind of issues are you running into? What's the error message?
@sudiptapaul278
@sudiptapaul278 6 месяцев назад
export const db = drizzle(sql) This line is showing me the error: "Argument of type 'NeonQueryFunction' is not assignable to parameter of type 'NeonQueryFunction'. Types of property 'transaction' are incompatible.
@hamzasaleem1537
@hamzasaleem1537 6 месяцев назад
const sql: NeonQueryFunction = neon(process.env.DATABASE_URL); this will fix it!
@mdsalahuddin2841
@mdsalahuddin2841 7 месяцев назад
how can we retrieve large scale json file generated from application like excalidraw ?
@asadmehboob1300
@asadmehboob1300 6 месяцев назад
please help me to generate generic repository pattern using drizzle or dynamic query
@tradecate
@tradecate 6 месяцев назад
If I use neon branches, do I still have to create migrations? Planetscale explains that branches negate migrations so use db push instead of db migrate (for prisma)
@neondatabase
@neondatabase 6 месяцев назад
Neon doesn't manage migrations for you as of today. So you will need to write them (or generate them depending on your framework of choice) and apply them in a Ci/CD pipeline or before your project's build step. Merging branches is something we're thinking about. But we don't have an exact ETA - Mahmoud
@etj1237
@etj1237 Месяц назад
Please Please Please tell us what theme and icon pack you're using !!!! 🙏🙏🙏🙏🙏
@neondatabase
@neondatabase Месяц назад
GitHub Dark default (theme) + Symbols (icons) - Mahmoud
@abhisekdas9976
@abhisekdas9976 3 месяца назад
What vscode icon pack are you using?
@LarsRyeJeppesen
@LarsRyeJeppesen 6 месяцев назад
Great stiff. How to deal with mysql pools for i stance? Does drizzle open amd close a connection fir each request?
@neondatabase
@neondatabase 6 месяцев назад
Drizzle doesn't automatically handle the opening and closing of connections for each request. This needs to be handled by the developer, which depends on which database driver they're using
@LarsRyeJeppesen
@LarsRyeJeppesen 6 месяцев назад
@@neondatabase yes thanks I saw now, using mysql2 pool connection. Loving this ORM
@WorkerThreads
@WorkerThreads 7 месяцев назад
What is ide ?
@neondatabase
@neondatabase 7 месяцев назад
GitHub Dark theme + the "Symbols" icons extension - Mahmoud
@linodil
@linodil 6 месяцев назад
Why did you choose Hono over Elysiajs. Elysia has been longer in the game and is faster than Hono.
@neondatabase
@neondatabase 6 месяцев назад
No reason is in particular. Both are awesome! - Mahmoud
@heyjitendra
@heyjitendra 6 месяцев назад
Hono can be deployed to like Workers, Vercel, Node.js etc.... Elysia main focus is bun right and also it is new right?? Also does any hosting support it??
@hakuna_matata_hakuna
@hakuna_matata_hakuna 2 месяца назад
no local dev?
Далее
Is Drizzle Really Better Than Prisma?
20:15
Просмотров 80 тыс.
БЕЛКА РОЖАЕТ? #cat
00:24
Просмотров 771 тыс.
The Only Database Abstraction You Need | Prime Reacts
21:42
Migration Lesson: Don't Use Prisma | Prime Reacts
29:16
DONT USE AN ORM | Prime Reacts
25:46
Просмотров 229 тыс.
I tried 8 different Postgres ORMs
9:46
Просмотров 411 тыс.
Drizzle vs Prisma: Which ORM is right for YOU?
5:59
Turns out REST APIs weren't the answer (and that's OK!)
10:38
Working with Drizzle ORM in Edge Functions
21:41
Просмотров 9 тыс.
Fetching Data Doesn't Get Better Than This
6:58
Просмотров 117 тыс.
So You Think You Know Git - FOSDEM 2024
47:00
Просмотров 1,1 млн