一个数据源可以四像关系型数据库管理体统这样的数据库,可以是面向对象型的数据库管理系统,可以是XML文档,也可以是简单文件等等.
A data source could be a database such as an RDBMS, OODBMS, XML repository, flat file system, and so forth.
因为ActiveRecord的大部分代码存在的原因是对象和关系型数据库的不匹配现象,许多ActiveRecord的代码都将变得毫无必要。
Since much of ActiveRecord is there because of the impedance mismatch between objects and relational databases, a lot of ActiveRecord will be unnecessary.
Django提供了自己的对象关系型数据映射组件(object - relational mapper, orm)库,它可以通过Python对象接口支持动态数据库访问。
Django comes with its own object-relational mapper (ORM) library that supports dynamic database access through a Python object interface.
应用推荐