HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by namcos | Hacker News Reader
Parent
Full thread
namcos
·
Simple question, why not have a db backed Avatar model instead?
View on HN
jamis
·
It is db-backed. It's just that the fields exist on the people table, instead of in their own table.
namcos
·
Thanks, I never noticed model aggregation before. Looks really useful.
ambition
·
Also if you did it db backed in a separate table, you'd have to do database joins to retrieve avatars, which might have a performance impact.
Reply on news.ycombinator.com