paint-brush
Sequelize: Association Methods Make Life Easierby@sarahscode
129 reads

Sequelize: Association Methods Make Life Easier

by Sarah Katz3mNovember 5th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

I can’t count the number of times that the phrase “I don’t understand Sequelize associations” came out of my mouth this past week. I’m pretty good at creating tables and adding/modifying/deleting instances, but I’ve never really worked well with associations. Don’t get me wrong, I can write a “Order.hasMany(Products)” association with the best of them, but I never really felt any need for those getProducts() and addProducts() methods.

Company Mentioned

Mention Thumbnail
featured image - Sequelize: Association Methods Make Life Easier
Sarah Katz HackerNoon profile picture
Sarah Katz

Sarah Katz

@sarahscode

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite