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}); }