angel3_orm
10.1.0, released 14 days ago by dukefirehawk.com
Runtime support and query builder for Angel3 ORM.
WASM-ready
What it does
Provides database-agnostic query building, relation loading, and runtime support for Angel3 ORM models. Works alongside database executors such as PostgreSQL, MySQL, and MariaDB.
AI-written summary of version 10.1.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You are building a backend application using the Angel3 ecosystem.
- You need a type-safe, code-generated query builder for SQL databases.
Skip it when
- You are writing a standard Flutter frontend app that talks directly to local SQLite databases (use drift or sqflite instead).
- You do not use code generation or the Angel3 backend framework.
Strengths
- Database-agnostic query builder supporting PostgreSQL, MySQL, and MariaDB.
- Handles relations like HasOne, BelongsTo, HasMany, and ManyToMany cleanly.
- Supports advanced features like skipLocked for concurrency.
Weaknesses
- Requires external database driver executors (e.g., angel3_orm_postgres or angel3_orm_mysql).
- Breaking changes between minor/major versions require careful migration and model regeneration.
Setup
- Kind
- Pure Dart
- Effort
- Medium
- Code generation
- Yes (build_runner)
- Direct dependencies
- 6
Requires adding angel3_orm to dependencies, configuring database executors, and running build_runner to generate query classes.
var query = EmployeeQuery()
..where!.firstName.equals('Rich')
..orWhere((w) => w.salary.greaterThanOrEqualTo(75000));
List<Employee> employees = await query.get(executor);Alternatives
Packages that do the same job and could replace angel3_orm.
Works with
Packages commonly used together with angel3_orm: ones it builds on, ones built on it, and its own family.
- intlangel3_orm depends on itA Dart library for internationalization and localization, providing message translation, plural/gender handling, and date/number formatting.
- string_scannerangel3_orm depends on itA class for parsing strings using a sequence of patterns.
- loggingangel3_orm depends on itProvides configurable logging with levels and stream listeners for Dart apps.
- charcodeangel3_orm depends on itProvides named integer constants for ASCII and HTML character codes.
- optionalangel3_orm depends on itAn implementation of the Optional type to help avoid null reference errors.
- angel3_frameworkSame familyA high‑powered Dart HTTP server framework with DI, routing and extensible plugins.
- angel3_websocketSame familyWebSockets support and event broadcasting for the Angel3 framework.
- angel3_graphqlSame familyServe GraphQL APIs over HTTP and WebSockets using the Angel3 framework.