Skip to navigation
How to sort with a couchdb view
15.10.14
function(doc) { if(doc.type == 'categories') { var a = {}; for(i in doc.sections) { a[doc.sections[i]['position']] = [i,doc.sections[i]['name']] } emit(doc.position,[doc._id,a]); } }
Reply
Anonymous
Information Epoch 1732548776
Separate policy from mechanism, separate interfaces from engines.
Home
Notebook
Contact us