codegen_database

Configuration-driven PostgreSQL framework

Quick search

Navigation

Getting started

  • Setup
  • Package layout
  • Configuration
  • Playground

Guides

  • SQLAlchemy models and database objects
  • Constraints and indexes
  • Extensions
  • Naming conventions
  • Cookbook

Reference

  • API reference

Contributing

  • Development
  • Changelog

  • GitHub

Related Topics

  • Documentation overview
    • Next: Setup

codegen_database¶

codegen_database adds PostgreSQL metadata helpers and migration support to ordinary SQLAlchemy projects. It does not replace SQLAlchemy’s ORM mapping.

Getting started

  • Setup
    • Alembic
  • Package layout
    • Models
    • Metadata helpers
    • Alembic integration
  • Configuration
  • Playground
    • Models and types
    • Views
    • Functions
    • Extensions and RLS
    • Migrations

Guides

  • SQLAlchemy models and database objects
    • Table models
    • Views
    • Functions
  • Constraints and indexes
  • Extensions
    • Built-in extensions
  • Naming conventions
  • Cookbook
    • Declarative views and functions
    • Imperative views
    • Imperative functions
    • Row-level security

Reference

  • API reference
    • Public helpers
    • Alembic integration
    • Built-in extensions

Contributing

  • Development
  • Changelog
©2026, FSH Technologies. | Page source