Esempio n. 1
0
 def get_driver_by_name(self, name):
     query = Driver.all()
     return query.filter('name =', name)
Esempio n. 2
0
 def get_driver_by_num(self, employeeid):
     query = Driver.all()
     return query.filter('employeeid =', employeeid)
Esempio n. 3
0
 def get_drivers(self):
     query = Driver.all()
     drivers = query.run()
     return drivers