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 时需要了解的所有内容。

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.

迁移说明

Migration Notes

升级到 SQLAlchemy 2.0 版的用户需要阅读:

从 SQLAlchemy 1.x 版(例如 1.4 版)过渡的用户应先过渡到 2.0 版,然后再进行从 2.0 到 2.1 的较小过渡所需的任何其他更改。1.x 到 2.x 过渡的关键文档:

所有变更日志和迁移文档的索引位于:

Users upgrading to SQLAlchemy version 2.0 will want to read:

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:

An index of all changelogs and migration documentation is available at:

参考和操作方法

Reference and How To

ORM

SQLAlchemy ORM - 使用 ORM 的详细指南和 API 参考

SQLAlchemy ORM - Detailed guides and API reference for using the ORM

核心

CORE

方言文档

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

目录

Table of Contents

完整目录。有关所有文档的高级概述,请参阅 SQLAlchemy 文档

Full table of contents. For a high level overview of all documentation, see SQLAlchemy 文档.

索引表

Indices and tables