SQLAlchemy 文档¶
SQLAlchemy Documentation
入门¶
Getting Started
第一次使用 SQLAlchemy? 从这开始:
对于 Python 初学者: 安装指南 - 使用 pip 和类似工具进行安装的基本指导
对于 Python 老手来说: SQLAlchemy Overview - SQLAlchemy 的简要架构概述
New to SQLAlchemy? Start here:
For Python Beginners: Installation Guide - Basic guidance on installing with pip and similar tools
For Python Veterans: SQLAlchemy Overview - A brief architectural overview of SQLAlchemy
教程¶
Tutorials
SQLAlchemy 的新用户以及旧 SQLAlchemy 发行版系列的老用户都应该从 SQLAlchemy 统一教程 开始,它涵盖了 Alchemist 使用 ORM 或 Core 时需要了解的所有内容。
快速浏览: ORM 快速入门 - 使用 ORM 的简要概述
适用于所有用户: SQLAlchemy 统一教程 - Core 和 ORM 使用的深入教程
New users of SQLAlchemy, as well as veterans of older SQLAlchemy release series, should start with the SQLAlchemy 统一教程, which covers everything an Alchemist needs to know when using the ORM or just Core.
For a quick glance: ORM 快速入门 - A brief overview of what working with the ORM looks like
For all users: SQLAlchemy 统一教程 - In-depth tutorial for both Core and ORM usage
迁移说明¶
Migration Notes
升级到 SQLAlchemy 2.0 版的用户需要阅读:
SQLAlchemy 2.1 中有哪些新功能? - 2.1 版中的新功能和行为
从 SQLAlchemy 1.x 版(例如 1.4 版)过渡的用户应先过渡到 2.0 版,然后再进行从 2.0 到 2.1 的较小过渡所需的任何其他更改。1.x 到 2.x 过渡的关键文档:
迁移到 SQLAlchemy 2.0 - 从 1.3 或 1.4 迁移到 2.0 的完整背景
SQLAlchemy 2.0 中有哪些新功能? - 2.0 版中引入的新功能和行为,超越了 1.x 迁移
所有变更日志和迁移文档的索引位于:
变更日志目录 - 所有 SQLAlchemy 版本的详细变更日志
Users upgrading to SQLAlchemy version 2.0 will want to read:
What’s New in SQLAlchemy 2.1? - New features and behaviors in version 2.1
Users transitioning from version 1.x of SQLAlchemy (e.g., version 1.4) should first transition to version 2.0 before making any additional changes needed for the smaller transition from 2.0 to 2.1. Key documentation for the 1.x to 2.x transition:
Migrating to SQLAlchemy 2.0 - Complete background on migrating from 1.3 or 1.4 to 2.0
What’s New in SQLAlchemy 2.0? - New features and behaviors introduced in version 2.0 beyond the 1.x migration
An index of all changelogs and migration documentation is available at:
Changelog catalog - Detailed changelogs for all SQLAlchemy Versions
参考和操作方法¶
Reference and How To
ORM¶
SQLAlchemy ORM - 使用 ORM 的详细指南和 API 参考
SQLAlchemy ORM - Detailed guides and API reference for using the ORM
Mapping Classes:
Using the ORM:
Configuration Extensions:
Extending the ORM:
Other:
核心¶
CORE
SQLAlchemy Core - 使用 Core 的详细指南和 API 参考
引擎、连接、池:
模式定义:
SQL 语句:
数据类型:
核心基础知识:
SQLAlchemy Core - Detailed guides and API reference for working with Core
Engines, Connections, Pools:
Schema Definition:
SQL Statements:
Datatypes:
Core Basics:
方言文档¶
Dialect Documentation
方言 是 SQLAlchemy 用于与各种类型的 DBAPI 和数据库进行通信的系统。 本节介绍有关各个方言的说明、选项和使用模式。
The dialect is the system SQLAlchemy uses to communicate with various types of DBAPIs and databases. This section describes notes, options, and usage patterns regarding individual dialects.
补充¶
Supplementary
Frequently Asked Questions - A collection of common problems and solutions
Glossary - Definitions of terms used in SQLAlchemy documentation
Error Message Guide - Explanations of many SQLAlchemy errors
Complete table of of contents - Full list of available documentation
Index - Index for easy lookup of documentation topics
目录¶
Table of Contents
完整目录。有关所有文档的高级概述,请参阅 SQLAlchemy 文档 。
Full table of contents. For a high level overview of all documentation, see SQLAlchemy 文档.
- 概述
- SQLAlchemy 统一教程
- SQLAlchemy ORM
- SQLAlchemy Core
- Dialects
- 常见问题
- 错误消息
- 变更和迁移
- SQLAlchemy 2.1 有什么新功能?
- 2.1 Changelog
- 2.0 Changelog
- 1.4 Changelog
- 1.3 Changelog
- 1.2 Changelog
- 1.1 Changelog
- 1.0 Changelog
- 0.9 Changelog
- 0.8 Changelog
- 0.7 Changelog
- 0.6 Changelog
- 0.5 Changelog
- 0.4 Changelog
- 0.3 Changelog
- 0.2 Changelog
- 0.1 Changelog
- SQLAlchemy 2.0 - Major Migration Guide
- What’s New in SQLAlchemy 2.0?
- What’s New in SQLAlchemy 1.4?
- What’s New in SQLAlchemy 1.3?
- What’s New in SQLAlchemy 1.2?
- What’s New in SQLAlchemy 1.1?
- What’s New in SQLAlchemy 1.0?
- What’s New in SQLAlchemy 0.9?
- What’s New in SQLAlchemy 0.8?
- What’s New in SQLAlchemy 0.7?
- What’s New in SQLAlchemy 0.6?
- What’s new in SQLAlchemy 0.5?
- What’s new in SQLAlchemy 0.4?
索引表¶
Indices and tables