def get(self, limit=None, page=None):
has_more = False<EOL>self.bounds.paginate = True<EOL>limit_paginate, offset = self.bounds.get(limit, page)<EOL>self.default_val = []<EOL>results = self._query('<STR_LIT>')<EOL>if limit_paginate:<EOL><INDENT>self.bounds.paginate = False<EOL>if len(results) == limit_paginate:<EOL><INDENT>has_more = True<EOL>results.pop(-<NUM_LIT:1>)<EOL><DEDENT><DEDENT>it = ResultsIterator(results, orm_class=self.orm_class, has_more=has_more, query=self)<EOL>return self.iterator_class(it)<EOL>
get results from the db

return -- Iterator()