Lines Matching refs:order_by
308 def fetch_rows(cls, where='', params=(), joins='', order_by=''):
314 order_by = cls._prefix_with(order_by, 'ORDER BY ')
321 '%(where)s %(order_by)s' % {'fields' : ', '.join(fields),
325 'order_by' : order_by})
330 def fetch(cls, where='', params=(), joins='', order_by=''):
337 order_by=order_by)
526 def fetch(cls, where='', params=(), joins='', order_by=''):
535 order_by=order_by)