N.B add the following code to the todo db to make it work, make a view called all

function(doc) { emit(doc._id, {"rev" : doc._rev, "text": doc.text}); }

Enter todo items in the box above and hit enter.