Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
namcos
· 17y ago · 0 comments
Simple question, why not have a db backed Avatar model instead?
Comments
[–]
jamis
17y ago
It is db-backed. It's just that the fields exist on the people table, instead of in their own table.
[–]
namcos
OP
17y ago
Thanks, I never noticed model aggregation before. Looks really useful.
[–]
ambition
17y ago
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.