Sequelize: Defining Models (3/TBD)

  Рет қаралды 42,559

Alex Booker

Alex Booker

Күн бұрын

Subscribe
goo.gl/RfTg86
Watch the full playlist
• Sequelize
Follow me on Twitter
/ bookercodes
Follow me on GitHub
github.com/ale...

Пікірлер: 66
@shinkevin3379
@shinkevin3379 3 жыл бұрын
Your teaching is by far the top-notch video that I have ever seen in my life. Thanks Mister. Please do not stop teaching on Node JS, React JS, and MySQL. You are such an amazing jewel in this development world. Much thanks from Korea.
@SuperNirupam
@SuperNirupam 6 жыл бұрын
You Rock! your videos have a great amount of clarity and to the point , no garbage talks, That's the way to do it, time is precious.Keep up the good work.
@barbosa_lv
@barbosa_lv 8 жыл бұрын
I absolutely love your teaching style. Please never stop!
@bookercodes
@bookercodes 8 жыл бұрын
+Lucas Barbosa Thanks so much.
@manolete433
@manolete433 7 жыл бұрын
When I started my project I knew that using a NOSQL DB didn't make sense, but I was struggling a lot working with Relational DBs. I actually thought of using Mongo just because using mongoose would help a lot, I knew the best approach would be a relational DB, though. I was about to give up when I started watching your tutorial, this is awesome, you're doing a great job!
@MrRicharddaniel
@MrRicharddaniel 6 жыл бұрын
We love your tutorials. Please continue and keep up the good work. Respect from India
@luthermcneal5641
@luthermcneal5641 3 жыл бұрын
Thanks! One of very few detailed sequelized tutorials. This is a good one even though it's old.
@huzbum
@huzbum 7 жыл бұрын
Just a little advice. I highly recommend against using user entered data as a primary key. Once you join tables with it, you can't change the data without creating integrity concerns. For example, a drivers license or social security number sound like ideal candidates for primary keys. They are supposedly unique and don't change. Unfortunately, that's a lie. Social security numbers are re-used, and any data entered by users changes... just imagine the frustration if you couldn't correct a typo. Use an auto increment ID, and add unique constraints for this kind of data if that's important.
@mithileshsaid355
@mithileshsaid355 8 жыл бұрын
Your videos are really concise and to the point Alex. Waiting for the video on migrations. I know a lot of people in the growing node.js community around me who will benefit from it. Keep up the good work.
@bookercodes
@bookercodes 8 жыл бұрын
+Mithilesh Said Yeah man, I am really excited to record a screencast about Sequelize migrations. I want to cover some more basic topics first, though. Thanks for the kind words.
@seifeldenehab3763
@seifeldenehab3763 4 жыл бұрын
Man , your playlist is great
@jcgm90
@jcgm90 7 жыл бұрын
fantastic step by step explanation... I'm actually understanding!
@panchoschwarzeneger
@panchoschwarzeneger 6 жыл бұрын
I like how everthing is well explained
@erikm2937
@erikm2937 8 жыл бұрын
Thank you! Such excellent vids. My humble vote for what to do next? FeathersJS.
@bookercodes
@bookercodes 8 жыл бұрын
If you want to see some FeatherJs screencasts, check out my good friend Chris's videos on the subject: kzbin.info/door/qr-7GDVTsdNBCeufvERYuwvideos - I'm sure you'll love them ♥️
@chanlito4896
@chanlito4896 8 жыл бұрын
Don't stop teaching.
@bookercodes
@bookercodes 8 жыл бұрын
+Chanly Hem Hernández I have no plans to stop 😉. Thanks for the words of encouragement!
@hvd95
@hvd95 7 жыл бұрын
I'm working on Sequelize but its document was very bad structured. Thanks god i found this series. Very excellent! :))
@Phishstaebchen
@Phishstaebchen 8 жыл бұрын
Oh Alex, I love your tutorial! Your voice is charming.
@segmentationfaulter
@segmentationfaulter 8 жыл бұрын
Great tutorial, anxiously waiting for the new videos.
@bookercodes
@bookercodes 8 жыл бұрын
+Muhammad Saqib Thanks, Muhammad. I appreciate all your comments.
@joshpagley7631
@joshpagley7631 8 жыл бұрын
These are great videos man! Very helpful..
@bookercodes
@bookercodes 8 жыл бұрын
+Josh Pagley I am really glad to hear you're finding them useful. Thanks for letting me know.
@smoothbeak
@smoothbeak 8 жыл бұрын
Great screencasts, very helpful - keep going!
@bookercodes
@bookercodes 8 жыл бұрын
+Daniel Jeffery Will do, mate. In fact, I'll be uploading a new Sequelize video in a couple of hours!
@smoothbeak
@smoothbeak 8 жыл бұрын
Awesome! It didn't dawn on me that the documentation for Sequelize really was quite bad :P An area that I personally would find useful is relationships between tables, hasMany, belongstoMany and how that works. Cheers once again
@bookercodes
@bookercodes 8 жыл бұрын
+Daniel Jeffery Daniel, I accidentally deleted your comment on video 4. I can see you response in my inbox but because you responded to a now-deleted thread, I cannot see it on the video! In response to your actual comment: I will *definitely* be covering relationships, as that is a topic I found the documentation to be lacking about.
@smoothbeak
@smoothbeak 8 жыл бұрын
Awesome, would you consider doing a Mongo or some No-Sql stuff as a contrast? I guess that's probably a lot to do. Anyway, keep up the good work!
@bookercodes
@bookercodes 8 жыл бұрын
+Daniel Jeffery It's certainly a possibility. Thanks for the suggestion.
@kamalihouman
@kamalihouman 7 жыл бұрын
Excellent tutorials, thanks! I was just wondering how do you do code highlighting, background fadeout, etc. for your presentation? The effects are slick!
@TheMarriumB
@TheMarriumB 5 жыл бұрын
i can listen to you for hours and hours!!!! *_*
@lbgarrido
@lbgarrido 8 жыл бұрын
Great Job professor professor
@bookercodes
@bookercodes 8 жыл бұрын
Thanks 😄
@l_tonz
@l_tonz 7 жыл бұрын
I agree, these are really good videos! The documentation for SequelizeDB isn't as good as they should be. It can be quite intimidating.
@kamalalhomsi5937
@kamalalhomsi5937 6 жыл бұрын
This tutorial is extremely awesome, Thank you so much
@Raivis999
@Raivis999 8 жыл бұрын
very enjojable, video, like a beautiful song :D
@xuelianwang5300
@xuelianwang5300 6 жыл бұрын
Learn a lot from you! Thank you!
@RealmOfCode
@RealmOfCode 6 жыл бұрын
@CodeCast I have a question: So I played a little by using ID instead of SLUG as the primary key field name, and used UUID() to seed unique Id's to 10 records that I created using a loop, and pushing them into an array. The order of the resulting array was correct (going from 0 to 10 in the title), but after using the .bulkCreate() function to insert them, the records got inserted in random order. Is there a way to guarantee that the records are inserted in the same order as they were sent? Thank very much for your time :-)
@davidscarso
@davidscarso 4 жыл бұрын
Thank you! excellent videos.
@segmentationfaulter
@segmentationfaulter 8 жыл бұрын
When would you make a video about associations?
@bookercodes
@bookercodes 8 жыл бұрын
+Muhammad Saqib Soon_ish_. You might want to checkout my recent video called _"Live coding a JavaScript poll with Chris"_. In it, I use Sequelize associations.
@retire35
@retire35 8 жыл бұрын
well done, dude, love your video :)
@Bludude63
@Bludude63 7 жыл бұрын
Great Videos!
@travel_ghost22
@travel_ghost22 6 жыл бұрын
Awesome great work
@varun77spot
@varun77spot 8 жыл бұрын
Hi gr8 videos ... very help full ...
@abdurrehman661
@abdurrehman661 6 жыл бұрын
In first video of series you asked to install "pg" n "pg-hstore". What is there purpose?
@Rundik
@Rundik 5 жыл бұрын
what color scheme are you using?
@HoangLe-ku1fs
@HoangLe-ku1fs 8 жыл бұрын
Does sequelize support to define multiple primary keys?
@limitlesscircle6366
@limitlesscircle6366 7 жыл бұрын
Hi, how can we map model with existing table in the database?
@Rundik
@Rundik 5 жыл бұрын
I think slug as a primary key is a bad practice. You should use id as primary key and slug would be just a normal field
@billbittner3158
@billbittner3158 7 жыл бұрын
great stuff
@daronwolff
@daronwolff 6 жыл бұрын
Would you recommend to use sequelize for an existent database?
@shyamin
@shyamin 5 жыл бұрын
is there a way to store created_at & deleted_at as UNIX timestamps ?
@dbabackup43
@dbabackup43 6 жыл бұрын
Very nice!!!
@piq-dg3vz
@piq-dg3vz 8 жыл бұрын
Article.findAll returns a json blob, and I had to map over it.. Im on a mac and I also get that default value error
@tuhidulislammridul3126
@tuhidulislammridul3126 5 жыл бұрын
best tutorial
@chamoW1
@chamoW1 8 жыл бұрын
Great ... thanks a lot
@bookercodes
@bookercodes 8 жыл бұрын
You're welcome!
@kalyandas3685
@kalyandas3685 7 жыл бұрын
Thanks Bro .. :)
@danieljacobsen4104
@danieljacobsen4104 7 жыл бұрын
Hi, setting the unique property to true does not seem to work for me
@danieljacobsen4104
@danieljacobsen4104 7 жыл бұрын
does not throw error but i can insert same value many times
@Pian0Mon
@Pian0Mon 6 жыл бұрын
Is there a keyword to create foreignKeys? I tried, foreignKey, but that didn't work
@mondona74
@mondona74 6 жыл бұрын
docs.sequelizejs.com/manual/tutorial/associations.html#foreign-keys
@Jaberibrahim2
@Jaberibrahim2 7 жыл бұрын
awesome
@rimjhim4278
@rimjhim4278 7 жыл бұрын
lovelyyyyyyyyyyyyyyyyyy
@quyle9300
@quyle9300 8 жыл бұрын
Great.. thanks a lot
Sequelize: Validation (4/TBD)
9:28
Alex Booker
Рет қаралды 30 М.
Mom had to stand up for the whole family!❤️😍😁
00:39
Claude has taken control of my computer...
4:37
Fireship
Рет қаралды 820 М.
I built 10 web apps... with 10 different languages
14:23
Fireship
Рет қаралды 1,6 МЛН
Sequelize: An Introduction (1/TBD)
8:54
Alex Booker
Рет қаралды 103 М.
Coding a Web Server in 25 Lines - Computerphile
17:49
Computerphile
Рет қаралды 341 М.
Solving one of PostgreSQL's biggest weaknesses.
17:12
Dreams of Code
Рет қаралды 207 М.
What’s Up with Laravel? It’s Everywhere, and Here’s Why!
6:22
Never* use git pull
4:02
Philomatics
Рет қаралды 535 М.
5. Database Migrations with Sequelize - Why and How
11:15
Chris Courses
Рет қаралды 30 М.
WHY IS THE STACK SO FAST?
13:46
Core Dumped
Рет қаралды 164 М.