예제 #1
0
파일: airplane.py 프로젝트: cpsoft/AM2012
	def __init__(self, database):
		DbModel.__init__(self, database)
		mapper(AirPlane, self.table)
		self.datas = self.session.query(AirPlane).all()
		return
예제 #2
0
파일: aircompany.py 프로젝트: cpsoft/AM2012
	def __init__(self, database):
		DbModel.__init__(self, database)
		mapper(AirCompany, self.table)
		self.datas = self.session.query(AirCompany).all()