SQLAlchemy ORM
Here, the Object Relational Mapper is introduced and fully described. If youwant to work with higher-level SQL which is constructed automatically for you,as well as automated persistence of Python objects, proceed first to thetutorial.
- Object Relational Tutorial
- Version Check
- Connecting
- Declare a Mapping
- Create a Schema
- Create an Instance of the Mapped Class
- Creating a Session
- Adding and Updating Objects
- Rolling Back
- Querying
- Building a Relationship
- Working with Related Objects
- Querying with Joins
- Eager Loading
- Deleting
- Building a Many To Many Relationship
- Further Reference
- Mapper Configuration
- Relationship Configuration
- Loading Objects
- Using the Session
- Events and Internals
- ORM Extensions
- ORM Examples
当前内容版权归 SQLAlchemy 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 SQLAlchemy .