mongodb - Mongo Db design (embed vs references) in Trello -


when open https://trello.com/board/board_name/board_id.json, can see within board there nested documents of card, list, actions etc. want know whether 3 main collections trello team talk card, board, member referenced or embedded (nested) within board?

they're referenced. responses assembled api don't precisely reflect structure of db. otherwise, board documents grow without bound, wouldn't work out long-lived boards. also, if included member documents in board, we'd have update every single board document member on when updated member's name.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -