aim_orm_postgres 0.1.0 copy "aim_orm_postgres: ^0.1.0" to clipboard
aim_orm_postgres: ^0.1.0 copied to clipboard

PostgreSQL ORM implementation for Dart with Record syntax table definitions and type-safe query builders.

0.1.0 #

0.0.1 #

Initial release of aim_orm_postgres - PostgreSQL ORM implementation for Dart.

Features #

  • Record Syntax Table Definitions:
    • @PgTable annotation for table declaration
    • Type-safe column definitions using Dart Records
  • PostgreSQL Column Types:
    • uuid() - UUID type
    • serial() - Auto-increment integer
    • jsonb<T>() - JSONB with generic type support
  • Foreign Key Support:
    • references() - Define foreign key relationships
    • OnDeleteAction - CASCADE, SET NULL, RESTRICT, NO ACTION
  • Code Generation:
    • Automatic query builder generation
    • Type-safe Row typedefs
    • PostgresDatabase extension methods
    • PostgresTransaction extension methods

CRUD Operations #

  • SELECT with WHERE, LIMIT, OFFSET
  • INSERT with type-safe values
  • UPDATE with SET and WHERE
  • DELETE with WHERE

Supported #

  • Dart SDK: ^3.10.0
  • PostgreSQL: All versions supported by aim_postgres

What's Included #

  • PgTable annotation class
  • PostgreSQL-specific column types (SerialColumn, UuidColumn, JsonbColumn)
  • Column builder functions (serial, uuid, jsonb)
  • Integration with aim_orm_codegen for code generation
0
likes
150
points
142
downloads

Publisher

verified publisheraim-dart.dev

Weekly Downloads

PostgreSQL ORM implementation for Dart with Record syntax table definitions and type-safe query builders.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

aim_orm, aim_postgres

More

Packages that depend on aim_orm_postgres