DESCRIPTION

capi implementation + simple create_view + json-set test

added create_view,get_view and delete_view and run_view to
RestConnection class
usage example :
capi = RestConnection(server)
function = "{\"_id\": \"_design/test\",\"views\": {\"stuff\": {\"map\": \"function (doc) { emit([doc.id], 99); }\"}}}"
capi.create_view("default","myview",function)
capi.get_view("default","myview")
capi.delete_view("default","myview")

Change-Id: I35326c5f3fc2fa8ce10004c47d0da187cae5afb5


COMMENTS

author: Zackery Barr
date: 2011-07-20 22:39:08.320000000

Uploaded patch set 7.

-------------------------------------
author: Zackery Barr
date: 2011-07-20 22:39:33.763000000

Patch Set 7: I would prefer that you didn't submit this

work in progress

-------------------------------------
