Python操作MySQL之SQLAlchemy

说明:本文为译文原文地址

http://docs.sqlalchemy.org/en/latest/orm/tutorial.html#

 

一、概要

The SQLAlchemy Object Relational Mapper 关系是:

Python中的class 表示 数据库中的table

Python中的 instance 表示 数据库中的 row

 

安装sqlalchemy

pip install sqlalchemy

 

 

二、检查版本

 

posted @ 2017-07-26 17:35  wanstack  阅读(244)  评论(0编辑  收藏  举报