Working with Engines and Connections¶ This section details direct usage of the Engine, Connection, and related objects. Its important to note that when using the SQLAlchemy ORM, these objects are not generally accessed; instead, the Session object is used as the interface to the database. However, for applications that are built around direct usage of textual SQL statements and/or SQL expression c
© Copyright 2007-2024, the SQLAlchemy authors and contributors. flambé! the dragon and The Alchemist image designs created and generously donated by Rotem Yaari. Created using Sphinx 7.2.6. Documentation last generated: Wed 08 May 2024 12:39:43 PM EDT Website content copyright © by SQLAlchemy authors and contributors. SQLAlchemy and its documentation are licensed under the MIT license. SQLAlchemy
The Type Hierarchy¶ SQLAlchemy provides abstractions for most common database data types, as well as several techniques for customization of datatypes. Database types are represented using Python classes, all of which ultimately extend from the base type class known as TypeEngine. There are two general categories of datatypes, each of which express themselves within the typing hierarchy in differe
Column Elements and Expressions¶ The expression API consists of a series of classes each of which represents a specific lexical element within a SQL string. Composed together into a larger structure, they form a statement construct that may be compiled into a string representation that can be passed to a database. The classes are organized into a hierarchy that begins at the basemost ClauseElement
SELECT and Related Constructs¶ The term “selectable” refers to any object that represents database rows. In SQLAlchemy, these objects descend from Selectable, the most prominent being Select, which represents a SQL SELECT statement. A subset of Selectable is FromClause, which represents objects that can be within the FROM clause of a Select statement. A distinguishing feature of FromClause is the
Release: 2.0.30 current release | Release Date: May 5, 2024
Engine Configuration¶ The Engine is the starting point for any SQLAlchemy application. It’s “home base” for the actual database and its DBAPI, delivered to the SQLAlchemy application through a connection pool and a Dialect, which describes how to talk to a specific kind of database/DBAPI combination. The general structure can be illustrated as follows: Where above, an Engine references both a Dial
New to SQLAlchemy? Start here: For Python Beginners: Installation Guide - basic guidance on installing with pip and similar For Python Veterans: SQLAlchemy Overview - brief architectural overview New users of SQLAlchemy, as well as veterans of older SQLAlchemy release series, should start with the SQLAlchemy Unified Tutorial, which covers everything an Alchemist needs to know when using the ORM or
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く