Fork me on GitHub Fork me on Gitee
摘要: SQLAlchemy 0.7 postgersql 9.0SQLAlchemy连接数据库有两种方法,一种是classic,一种是modern1,modern方法 1 from sqlalchemy import create_engine 2 from sqlalchemy.ext.declarative import declarative_base 3 from sqlalchemy import Column, Integer, String 4 from sqlalchemy.orm import sessionmaker 5 from sqlalchemy import Sequen 阅读全文
posted @ 2013-08-27 16:22 伴途の永远 阅读(707) 评论(0) 推荐(0) 编辑