incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitrii Dimandt <dmitr...@gmail.com>
Subject Relational data
Date Fri, 13 Mar 2009 20:03:27 GMT
Yeah, I know, I know, relational data was never meant to be in  
CouchDB, but still...

What would be the best way to handle the following situation:

news: url, text
comments: news_url, text, user_login
user: display_name, user_login


So, when I show a news item with comments, it means that I need to do  
a round trip to CouchDB for every comment in order to retrieve the  
user's display name. Is there a better way to do it?

Mime
View raw message