def query(self, model, **kwargs):
        sm = self.model(model)
        query_class = sm.manager.query_class or Query
        return query_class(sm._meta, self, **kwargs)
Create a new :class:`Query` for *model*.
dataset/ETHPy150Open lsbardel/python-stdnet/stdnet/odm/session.py/Session.query