dockerize faye and counters

This commit is contained in:
2015-02-10 15:44:46 +01:00
parent cab883b3ce
commit 461bbdb3ec
15 changed files with 388 additions and 26 deletions
+8
View File
@@ -0,0 +1,8 @@
views:
by_supplier_id_and_state:
map: |
function(doc) {
if(doc.ruby_class && doc.ruby_class == 'Order') emit([doc['supplier_id'], doc['state']], 1);
}
reduce: _sum
language: "javascript"