Exemplo n.º 1
0
 def find_all(cls, **kwargs):
     return db_query.find_all(cls, **cls._process_conditions(kwargs))
Exemplo n.º 2
0
 def find_all(cls, **kwargs):
     return db_query.find_all(cls, **cls._process_conditions(kwargs))
Exemplo n.º 3
0
 def find_all(cls, **kwargs):
     if hasattr(cls, 'deleted') and 'deleted' not in kwargs:
         kwargs['deleted'] = 0
     return db_query.find_all(cls, **cls._process_conditions(kwargs))