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] Trivial Update of "Introduction_to_CouchDB_views" by SvenHelmberger
Date Fri, 02 Apr 2010 11:53:15 GMT
Dear Wiki user,

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

The "Introduction_to_CouchDB_views" page has been changed by SvenHelmberger.
The comment on this change is: 0.11 is no longer trunk.
http://wiki.apache.org/couchdb/Introduction_to_CouchDB_views?action=diff&rev1=32&rev2=33

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

  The second parameter of the ''emit()'' function can be ''null''. CouchDB then only stores
the [key,docid] in the view. You can use the view as a compact lookup mechanism and fetch
the document's details, if needed, in subsequent requests or by adding parameter ''include_docs=true''
  
  === Linked documents ===
- ''This is a new feature in couchdb trunk / 0.11''
+ ''This is a new feature in couchdb 0.11''
  
  If you emit an object value which has '''{'_id': XXX}''' then include_docs will fetch the
document with id XXX rather than the document which was processed to emit the key/value pair.
  

Mime
View raw message