Пример #1
0
	db.getView(designDoc, 'byTag', q, function(err, data) {
		if(err) {
			return alert(err);
		} else {
			bibList.showView(data, "Documents tagged \""+tag+"\"");
		}
	});
Пример #2
0
	db.getView(designDoc, 'readLater', {include_docs:true}, function(err, data) {
		if(err) { return alert(err);}
		
		bibList.showView(data, "Reading list");
	});