Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2007-01-14 15:08:27
Size: 1928
Editor: HuangYi
Comment: sqlalchemy 竟然还没有页面 = ="
Revision 3 as of 2007-01-14 15:51:19
Size: 2014
Editor: HuangYi
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
[[TableOfContents]]
Line 22: Line 23:
 * [http://spyced.blogspot.com/2007/01/why-sqlalchemy-impresses-me.html Why SQLAlchemy impresses me]
 * [http://spyced.blogspot.com/2006/02/why-schema-definition-belongs-in.html Why schema definition belongs in the database]
 * [http://spyced.blogspot.com/2007/01/why-sqlalchemy-impresses-me.html Why SQLAlchemy impresses me](使用 sqlalchemy 表达复杂的关联)
 * [http://spyced.blogspot.com/2006/02/why-schema-definition-belongs-in.html Why schema definition belongs in the database] (与 sqlalchemy 无关)

TableOfContents

简介

Python 中最好的 ORM !

SQLAlchemy is the Python SQL toolkit and Object Relational Mapper that gives application developers the full power and flexibility of SQL.

It provides a full suite of well known enterprise-level persistence patterns, designed for efficient and high-performing database access, adapted into a simple and Pythonic domain language.

哲学

SQL databases behave less and less like object collections the more size and performance start to matter; object collections behave less and less like tables and rows the more abstraction starts to matter. SQLAlchemy aims to accommodate both of these principles.

SQLAlchemy doesn't view databases as just collections of tables; it sees them as relational algebra engines. Its object relational mapper enables classes to be mapped against the database in more than one way. SQL constructs don't just select from just tables—you can also select from joins, subqueries, and unions. Thus database relationships and domain object models can be cleanly decoupled from the beginning, allowing both sides to develop to their full potential.

相关链接

讨论

SQLAlchemy (last edited 2009-12-25 07:13:51 by localhost)