예제 #1
0
파일: models.py 프로젝트: NeCTAR-RC/trove
 def find_all(cls, **kwargs):
     return db_query.find_all(cls, **cls._process_conditions(kwargs))
예제 #2
0
 def find_all(cls, **kwargs):
     return db_query.find_all(cls, **cls._process_conditions(kwargs))
예제 #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))