SQLModel combines SQLAlchemy and Pydantic into a single library, letting you define database models as Python classes with type annotations that serve as both ORM models and data validation schemas.
SQLModel — SQL Databases in Python with Type Safety and Pydantic
SQLModel combines SQLAlchemy and Pydantic into a single library, letting you define database models as Python classes with type annotations that serve as both ORM models and data validation schemas.
Agent 可直接安装
这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。
npx -y tokrepo@latest install 61fdc9f9-4792-11f1-9bc6-00163e2b0d79 --target codex先 dry-run 确认安装计划,再运行此命令。
讨论
相关资产
Exposed — Kotlin SQL Framework with Type-Safe DSL and DAO
Exposed is a Kotlin SQL library by JetBrains offering two flavors: a lightweight type-safe DSL for SQL queries and a full DAO layer with entity mapping, both supporting multiple database backends.
jOOQ — Type-Safe SQL in Java with Code Generation
jOOQ generates Java code from your database schema and provides a fluent DSL for writing type-safe SQL queries, combining the power of raw SQL with compile-time validation.
Sequelize — Feature-Rich Node.js ORM for SQL Databases
A mature promise-based ORM for PostgreSQL, MySQL, MariaDB, SQLite, and SQL Server with transactions, relations, eager loading, and CLI migrations.
Peewee — Lightweight Python ORM for SQLite, MySQL and PostgreSQL
Peewee is a small expressive Python ORM that provides an intuitive API for interacting with SQLite, MySQL, and PostgreSQL databases with minimal overhead and a tiny footprint.