Python.SQLAlchemy.0

1. SQLAlchemy and You

http://lucumr.pocoo.org/2011/7/19/sqlachemy-and-you/

2. Overview 

http://docs.sqlalchemy.org/en/rel_0_9/intro.html

2.1 SQLAlchemy概览

The SQLAlchemy SQL Toolkit and Object Relational Mapper is

a comprehensive set of tools for working with databases and Python. 

SQLAlchemy在组件上按依赖关系分了三层;

SQLAlchemy ORM

SQLAlchemy Core

DBAPI (Dialects)

这部分阅读后, 建议从SQLAlchemy ORM(http://docs.sqlalchemy.org/en/rel_0_9/orm/index.html)的文档开始进行学习。

示例代码:

ORM Examples: http://docs.sqlalchemy.org/en/rel_0_9/orm/examples.html

bitbucket上的示例代码: https://bitbucket.org/zzzeek/sqlalchemy/wiki/UsageRecipes

2.2 安装指南

2.3 获取SQLAlchemy的版本

import sqlalchemy

sqlalchemy.__version__

 

你可能感兴趣的:(python)