def query(self, model_cls):
self._filters_cmd = list()<EOL>self.query_filters = list()<EOL>self._order_by_cmd = None<EOL>self._offset = <NUM_LIT:0><EOL>self._limit = <NUM_LIT:0><EOL>self.query_class = model_cls._name<EOL>return self<EOL>
SQLAlchemy query like method