@gen.coroutine
    def delete_docs(self, docs, all_or_nothing=False):
        if any('_rev' not in doc or '_id' not in doc for doc in docs):
            raise KeyError('Missing id or revision information in one or '
                           'more docs')
        # make list of docs to mark as deleted
        deleted = [{'_id': doc['_id'], '_rev': doc['_rev'],
                    '_deleted': True} for doc in docs]
        # use bulk docs API to update the docs
        url = '{0}/_bulk_docs'.format(self.db_name)
        body = json_encode({'all_or_nothing': all_or_nothing,
                            'docs': deleted})
        r = yield self._http_post(url, body)
        raise gen.Return(r)
Delete multiple documents.
dataset/ETHPy150Open nephics/tornado-couchdb/couch/couch.py/AsyncCouch.delete_docs