You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/05/15 10:46:34 UTC

[Couchdb Wiki] Trivial Update of "HttpViewApi" by JanLehnardt

Dear Wiki user,

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

The following page has been changed by JanLehnardt:
http://wiki.apache.org/couchdb/HttpViewApi

The comment on the change is:
add comma in source listing

------------------------------------------------------------------------------
    "language": "text/javascript",
    "views":
    {
-     "all": "function(doc) { if (doc.Type == 'customer')  map(null, doc) }"
+     "all": "function(doc) { if (doc.Type == 'customer')  map(null, doc) }",
      "by_lastname": "function(doc) { if (doc.Type == 'customer')  map(doc.LastName, doc) }"
    }
  }