couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Couchdb Wiki] Update of "How_to_store_hierarchical_data" by BrianCandler
Date Thu, 07 Jan 2010 10:35:09 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.

The "How_to_store_hierarchical_data" page has been changed by BrianCandler.
The comment on this change is: Linked documents are useful for trees too.
http://wiki.apache.org/couchdb/How_to_store_hierarchical_data?action=diff&rev1=5&rev2=6

--------------------------------------------------

  
  There is some example Python code to handle using the above views to fetch trees available
at http://git.paulbonser.com/?p=couchdb.git;a=summary
  
+ == Searching by value and returning associated documents ==
+ 
+ Couchdb 0.11 adds a feature where you can emit a key,value pair linked to a different document
ID. Hence it's possible to build a view where you can search for a value V ''and'' also return
the ancestors or children for that value in adjacent rows. See [Introduction_to_CouchDB_views#Linked_documents
Linked documents]
+ 

Mime
View raw message