~cmiller/desktopcouch/proxy-for-consistent-port

« back to all changes in this revision

Viewing changes to desktopcouch/records/doc/records.txt

  • Committer: Chad Miller
  • Date: 2010-11-16 16:52:20 UTC
  • mfrom: (199.2.10 desktopcouch)
  • Revision ID: chad.miller@canonical.com-20101116165220-9x141o0vkr7cg2s7
Update microproxy branch with merge from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
To create a view:
57
57
 
58
58
>>> map_js = """function(doc) { emit(doc._id, null) }"""
59
 
>>> reduce_js = None
60
 
>>> db.add_view("blueberries", map_js, reduce_js, design_doc)
 
59
>>> db.add_view("blueberries", map_js, design_doc=design_doc)
61
60
 
62
61
List views for a given design document:
63
62