自省的python orm
XRecord的Python项目详细描述
XReST并不是试图匹配现有ORMS的功能。 它被设计成一个定义明确的即插即用组件, (外键、主键、引用)已经存在的数据库。
特点
- full introspection, no model definition in Python required,
- automatic foreign key mapping, both in the referenced and referencing objects,
- automatic many-to-many relationship detection,
- optional foreign-key references caching,
- easily extend generated record classes to provide extra functionality for your objects,
- easily define FK and MTM relationships, that were left out in the database definition,
- object-mapping of any SQL statement,
- seamless integration with Django,
- may store meta-data to improve performance in production environments,
- may be used without writing a single line of SQL,
- multiple-column primary keys,
- database connection objects designed for long-running applications,
- complies with the python DBAPI specification
文档
在documentation中了解更多信息