diff backend/couchdb/CouchApp/feedworm/views/preference/map.js @ 165:a5bda54309ba

add a couchapp for easy/automated setup
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 29 Aug 2011 04:12:01 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/backend/couchdb/CouchApp/feedworm/views/preference/map.js	Mon Aug 29 04:12:01 2011 +0200
@@ -0,0 +1,7 @@
+function(doc)
+{
+    if (doc.doctype == "preferences")
+    {
+        emit(doc._id, doc)
+    }
+}