def query(self, map_fun, reduce_fun=None, language='javascript',
              wrapper=None, **options):
        return TemporaryView(self.resource('_temp_view'), map_fun,
                             reduce_fun, language=language,
                             wrapper=wrapper)(**options)
Execute an ad-hoc query (a "temp view") against the database.
dataset/ETHPy150Open djc/couchdb-python/couchdb/client.py/Database.query