angel_orm 1.0.0-alpha+11

  • Installing
  • Versions
  • 83


Runtime support for Angel's ORM. Includes SQL expression generators, as well as a friendly PostgreSQLConnectionPool class that you can use to pool connections to a PostgreSQL database.

For documentation about the ORM, head to the main project repo:


  • Split into angel_orm.dart and server.dart. Prevents DDC failures.


  • Added a @belongsToMany annotation class.
  • Resolved #20. The PostgreSQLConnectionPool keeps track of which connections have been opened now.


  • DateTimeSqlExpressionBuilder will no longer automatically insert quotation marks around names.


  • Corrected a typo that was causing the aforementioned test failures. == becomes =.


  • Added a null-check in lib/src/query.dart#L24 to (hopefully) prevent it from crashing on Travis.


  • Added isIn, isNotIn, isBetween, isNotBetween to SqlExpressionBuilder and its subclasses.
  • Added a dependency on package:meta.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  angel_orm: "^1.0.0-alpha+11"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

Alternatively, your editor might support pub get or flutter packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

      import 'package:angel_orm/angel_orm.dart';
Version Uploaded Documentation Archive
2.0.0-dev May 16, 2018 Go to the documentation of angel_orm 2.0.0-dev Download angel_orm 2.0.0-dev archive
1.0.0-alpha+12 Dec 7, 2017 Go to the documentation of angel_orm 1.0.0-alpha+12 Download angel_orm 1.0.0-alpha+12 archive
1.0.0-alpha+11 Nov 29, 2017 Go to the documentation of angel_orm 1.0.0-alpha+11 Download angel_orm 1.0.0-alpha+11 archive
1.0.0-alpha+10 Nov 23, 2017 Go to the documentation of angel_orm 1.0.0-alpha+10 Download angel_orm 1.0.0-alpha+10 archive
1.0.0-alpha+9 Nov 23, 2017 Go to the documentation of angel_orm 1.0.0-alpha+9 Download angel_orm 1.0.0-alpha+9 archive
1.0.0-alpha+8 Nov 18, 2017 Go to the documentation of angel_orm 1.0.0-alpha+8 Download angel_orm 1.0.0-alpha+8 archive
1.0.0-alpha+7 Jul 15, 2017 Go to the documentation of angel_orm 1.0.0-alpha+7 Download angel_orm 1.0.0-alpha+7 archive
1.0.0-alpha+6 Jul 15, 2017 Go to the documentation of angel_orm 1.0.0-alpha+6 Download angel_orm 1.0.0-alpha+6 archive
1.0.0-alpha+5 Jul 14, 2017 Go to the documentation of angel_orm 1.0.0-alpha+5 Download angel_orm 1.0.0-alpha+5 archive
1.0.0-alpha+4 Jul 14, 2017 Go to the documentation of angel_orm 1.0.0-alpha+4 Download angel_orm 1.0.0-alpha+4 archive

All 14 versions...


We analyzed this package on Jul 14, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3


Describes how popular the package is relative to other packages. [more]
72 / 100
Code health derived from static analysis. [more]
92 / 100
Reflects how tidy and up-to-date the package is. [more]
97 / 100
Overall score:
Weighted score of the above. [more]
Learn more about scoring.


Detected platforms: Flutter, web, other

No platform restriction found in primary library package:angel_orm/angel_orm.dart.


  • Package is pre-release.

    Pre-release versions should be used with caution, their API may change in breaking ways.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 29 hints.

    Run dartfmt to format lib/angel_orm.dart.

    Run dartfmt to format lib/server.dart.

    Similar analysis of the following files failed:

    • lib/src/annotations.dart (hint)
    • lib/src/migration.dart (hint)
    • lib/src/query.dart (hint)
  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use angel_orm.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0
intl >=0.0.0 <1.0.0 0.15.6
meta ^1.0.0 1.1.5
pool ^1.0.0 1.3.5
postgres ^0.9.5 0.9.9 1.0.0-beta.1
string_scanner ^1.0.0 1.0.2
Transitive dependencies
async 2.0.7
charcode 1.1.2
collection 1.14.10
convert 2.0.1
crypto 2.0.6
dart2_constant 1.0.1+dart2
path 1.6.1
source_span 1.4.0
stack_trace 1.9.2
typed_data 1.1.5