Release: 2.0.0b1 | Release Date: October 13, 2022

SQLAlchemy 2.0 Documentation

SQLAlchemy 2.0 Documentation

Home

SQLAlchemy Core

  • SQL Statements and Expressions API
  • Schema Definition Language
  • SQL Datatype Objects¶
    • The Type Hierarchy
    • Custom Types
    • Base Type API
  • Engine and Connection Use
  • Core API Basics

Home

  • Previous: Customizing DDL
  • Next: The Type Hierarchy
  • Up: Home
    • SQLAlchemy Core
  • On this page:
    • SQL Datatype Objects

SQL Datatype Objects¶

  • The Type Hierarchy
    • The “CamelCase” datatypes
    • The “UPPERCASE” datatypes
    • Backend-specific “UPPERCASE” datatypes
    • Using “UPPERCASE” and Backend-specific types for multiple backends
    • Generic “CamelCase” Types
    • SQL Standard and Multiple Vendor “UPPERCASE” Types
  • Custom Types
    • Overriding Type Compilation
    • Augmenting Existing Types
    • TypeDecorator Recipes
      • Coercing Encoded Strings to Unicode
      • Rounding Numerics
      • Store Timezone Aware Timestamps as Timezone Naive UTC
      • Backend-agnostic GUID Type
      • Marshal JSON Strings
    • Applying SQL-level Bind/Result Processing
    • Redefining and Creating New Operators
    • Creating New Types
    • Working with Custom Types and Reflection
  • Base Type API
Previous: Customizing DDL Next: The Type Hierarchy
© Copyright 2007-2022, the SQLAlchemy authors and contributors.

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

Created using Sphinx 5.1.1. Documentation last generated: Thu 13 Oct 2022 11:26:21 AM