Release: 2.1.0b2 | Release Date: April 16, 2026

SQLAlchemy 2.1 Documentation

SQLAlchemy 2.1 Documentation

Home

SQLAlchemy Core

  • SQL Statements and Expressions API¶
    • Column Elements and Expressions
    • Operator Reference
    • SELECT and Related Constructs
    • Insert, Updates, Deletes
    • SQL and Generic Functions
    • Custom SQL Constructs and Compilation Extension
    • Expression Serializer Extension
    • SQL Expression Language Foundational Constructs
    • Visitor and Traversal Utilities
  • Schema Definition Language
  • SQL Datatype Objects
  • Engine and Connection Use
  • Core API Basics

Home

  • Previous: SQLAlchemy Core
  • Next: Column Elements and Expressions
  • Up: Home
    • SQLAlchemy Core
  • On this page:
    • SQL Statements and Expressions API

SQL Statements and Expressions API¶

This section presents the API reference for the SQL Expression Language. For an introduction, start with Working with Data in the SQLAlchemy Unified Tutorial.

  • Column Elements and Expressions
    • Column Element Foundational Constructors
    • Column Element Modifier Constructors
      • nullsfirst()
      • nullslast()
    • Column Element Class Documentation
      • ColumnExpressionArgument
    • Column Element Typing Utilities
  • Operator Reference
    • Comparison Operators
    • IN Comparisons
      • IN against a list of values
      • Empty IN Expressions
      • NOT IN
      • Tuple IN Expressions
      • Subquery IN
    • Identity Comparisons
    • String Comparisons
    • String Containment
    • String matching
    • String Alteration
    • Arithmetic Operators
    • Bitwise Operators
    • Using Conjunctions and Negations
    • Conjunction Operators
    • Parentheses and Grouping
  • SELECT and Related Constructs
    • Selectable Foundational Constructors
    • Selectable Modifier Constructors
    • Selectable Class Documentation
    • Label Style Constants
  • Insert, Updates, Deletes
    • DML Foundational Constructors
    • DML Class Documentation Constructors
  • SQL and Generic Functions
    • Function API
    • Selected “Known” Functions
  • Custom SQL Constructs and Compilation Extension
  • Expression Serializer Extension
  • SQL Expression Language Foundational Constructs
  • Visitor and Traversal Utilities
Previous: SQLAlchemy Core Next: Column Elements and Expressions
© Copyright 2007-2026, the SQLAlchemy authors and contributors.

flambé! the dragon and The Alchemist image designs created and generously donated by Rotem Yaari.

Created using Sphinx 9.1.0. Documentation last generated: Mon 27 Apr 2026 04:59:44 PM +0330