예제 #1
0
파일: code.py 프로젝트: coderjiang/py-stock
 def query(cls):
     with DatabaseFactory.create_connection() as db:
         return db.fetchall('select code from %s' % cls.__table__)