incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <aurelien.be...@utt.fr>
Subject Re: Writing a Bulletin Board
Date Sun, 11 Sep 2011 12:20:03 GMT
Hi Markus,

> Ok, but than I need different documents for thread and post, because I need different
informations for threads and posts. Or do you think it's better to put the thread informations
into the first post doc?

You can do both ways. In either way you'll "collate" them.

["a0bf"]							{title:"Writing a Bulletin Board"}
["a0bf", "2011-09-11 13:10:34"]		{author:"Markus", ...}
["a0bf", "2011-09-11 13:29:46"]		{author:"Aurélien", ...}

or : 

["a0bf", "2011-09-11 13:10:34"]		{title:"Writing a Bulletin Board", author:"Markus", ...}
["a0bf", "2011-09-11 13:29:46"]		{author:"Aurélien", ...}


More information on :
http://wiki.apache.org/couchdb/View_collation


Regards,

Aurélien
Mime
View raw message