Beispiel #1
0
    def load_all_by_person_name(self, person_name, conditions = None):
        joins = {'persons' : ['INNER', 'signatures.person_id = persons.id']}

        if not conditions:
            conditions = {}

        conditions['persons.name'] = [person_name]
        return TransactionHandler.select_all(self, table='signatures', conditions=conditions, joins=joins)
Beispiel #2
0
 def load_all(self, conditions=None):
     return TransactionHandler.select_all(self,
                                          table='persons',
                                          conditions=conditions)
Beispiel #3
0
 def load_all(self, conditions=None, group_by=None, joins=None):
     return TransactionHandler.select_all(self,
                                          table='issues',
                                          conditions=conditions,
                                          joins=joins,
                                          group_by=group_by)
Beispiel #4
0
 def load_all(self):
     return TransactionHandler.select_all(self, 'ministries')
Beispiel #5
0
 def load_all(self, conditions=None, group_by=None):
     return TransactionHandler.select_all(self, table='raw_signatures', conditions=conditions, group_by=group_by)
Beispiel #6
0
 def load_all_by_person_name(self, person_name):
     conditions = {'person_name': [person_name]}
     return TransactionHandler.select_all(self, table='raw_signatures', conditions=conditions)