parameters: (cls, where=None, args=None, **kw)
return_statement: return [cls(**r) for r in rs]
docstring: find objects by where clause.
docstring_summary: find objects by where clause.
docstring_tokens: find objects by where clause .
function: async def findAll(cls, where=None, args=None, **kw):
  	    ' find objects by where clause. '
  	    sql = [cls.__select__]
  	    if where:
  	        sql.append('where')
  	        sql.append(where)
  	    if args is None:
  	        args = []
  	    orderBy = kw.get('orderBy', None)
  	    if orderBy:
  	        sql.append('order by')
  	        sql.append(orderBy)
  	    limit = kw.get('limit', None)
  	    if limit is not None:
  	        sql.append('limit')
  	        if isinstance(limit, int):
  	            sql.append('?')
  	            args.append(limit)
  	        elif isinstance(limit, tuple) and len(limit) == 2:
  	            sql.append('?, ?')
  	            args.extend(limit)
  	        else:
  	            raise ValueError('Invalid limit value: %s' % str(limit))
  	    rs = await select(' '.join(sql), args)
  	    return [cls(**r) for r in rs]
function_tokens: async def findAll ( cls , where = None , args = None , * * kw ) : sql = [ cls . __select__ ] if where : sql . append ( 'where' ) sql . append ( where ) if args is None : args = [ ] orderBy = kw . get ( 'orderBy' , None ) if orderBy : sql . append ( 'order by' ) sql . append ( orderBy ) limit = kw . get ( 'limit' , None ) if limit is not None : sql . append ( 'limit' ) if isinstance ( limit , int ) : sql . append ( '?' ) args . append ( limit ) elif isinstance ( limit , tuple ) and len ( limit ) == 2 : sql . append ( '?, ?' ) args . extend ( limit ) else : raise ValueError ( 'Invalid limit value: %s' % str ( limit ) ) rs = await select ( ' ' . join ( sql ) , args ) return [ cls ( * * r ) for r in rs ]