aim_orm_codegen 0.0.1
aim_orm_codegen: ^0.0.1 copied to clipboard
Code generation for aim_orm using build_runner. Generates type-safe query builders from table definitions.
0.0.1 #
Initial release of aim_orm_codegen - Code generation for aim_orm.
Features #
- Record Syntax Support:
@PgTableannotation processing- Dart Record field analysis
- Column type detection (integer, varchar, text, timestamp, uuid, serial, jsonb)
- Generated Code:
- Row typedef with named fields
- QueryBuilder class for table access
- SelectBuilder with WHERE, LIMIT, OFFSET support
- InsertBuilder with type-safe values
- UpdateBuilder with SET and WHERE
- DeleteBuilder with WHERE
- PostgresDatabase extension methods
- PostgresTransaction extension methods
- Builders:
record_pg_table- For Record syntax with@PgTabletable- For class-based definitions (legacy)
Supported #
- Dart SDK:
^3.10.0 - build_runner:
^2.4.0 - analyzer:
^10.0.1
What's Included #
RecordPgTableGenerator- Main generator for Record syntax tablesTableGenerator- Generator for class-based tables- Builder configuration for build_runner integration