Q interface to CouchDB