incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From francisco treacy <francisco.tre...@gmail.com>
Subject Re: Entity Relationships in CouchDB
Date Tue, 14 Apr 2009 15:06:22 GMT
Hi all,

>  "You would use this method if you modify the key list frequently (i.e. if
> you get more conflicts than is acceptable), or if the key list is so large
> that transferring the document is unacceptably slow. Relationship documents
> enable frequent changes with less chance of conflict; however, you can
> access neither the contact nor group information in one request.  You must
> re-request those specific documents by ID, keeping in mind that they may
> change or be deleted in the interim.

+1

Additionally, it would be good to make readers aware of the
"document-oriented mindset" -i.e. not only the technical
possibilities- and how not to think in terms of joins in a relational
database.

Two blog posts you may find interesting on this topic:

http://upstream-berlin.com/2009/03/31/the-case-of-activerecord-vs-couchdb/
http://debasishg.blogspot.com/2009/04/framework-inertia-couchdb-and-case-of.html

Francisco

Mime
View raw message