angel_orm_generator 2.0.0-dev.1

  • Installing
  • Versions
  • 45


Source code generators for Angel's ORM. This package can generate:

  • A strongly-typed ORM
  • SQL migration scripts

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


  • Generate migration files.


  • Dart 2 updates, and more.


  • DateTime is now CAST on insertion and update operations.


Implemented @hasOne, with tests. Still missing @hasMany. belongsToMany will likely be scrapped.


  • Added support for belongsTo relationships. Still missing hasOne, hasMany, belongsToMany.


  • Closed #12. insertX and updateX now use rc.camelCase, instead of rc.snakeCase.
  • Closed #13. Added limit and offset properties to XQuery.
  • Closed #14. Refined the or method (it now takes an XQueryWhere), and removed and and not.
  • Closed #16. Added sortAscending and sortDescending to XQuery.
  • Closed #17. delete now uses toSql from XQuery.
  • Closed #18. XQuery now supports union and unionAll.

Use this package as a library

1. Depend on it

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

  angel_orm_generator: ^2.0.0-dev.1

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub 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_generator/angel_orm_generator.dart';
Version Uploaded Documentation Archive
2.0.0-dev.1 Dec 9, 2018 Go to the documentation of angel_orm_generator 2.0.0-dev.1 Download angel_orm_generator 2.0.0-dev.1 archive
2.0.0-dev Dec 8, 2018 Go to the documentation of angel_orm_generator 2.0.0-dev Download angel_orm_generator 2.0.0-dev archive
1.0.0-alpha+6 Dec 8, 2017 Go to the documentation of angel_orm_generator 1.0.0-alpha+6 Download angel_orm_generator 1.0.0-alpha+6 archive
1.0.0-alpha+5 Nov 20, 2017 Go to the documentation of angel_orm_generator 1.0.0-alpha+5 Download angel_orm_generator 1.0.0-alpha+5 archive
1.0.0-alpha+4 Sep 15, 2017 Go to the documentation of angel_orm_generator 1.0.0-alpha+4 Download angel_orm_generator 1.0.0-alpha+4 archive
1.0.0-alpha+3 Aug 1, 2017 Go to the documentation of angel_orm_generator 1.0.0-alpha+3 Download angel_orm_generator 1.0.0-alpha+3 archive
1.0.0-alpha+2 Jul 15, 2017 Go to the documentation of angel_orm_generator 1.0.0-alpha+2 Download angel_orm_generator 1.0.0-alpha+2 archive
1.0.0-alpha+1 Jul 14, 2017 Go to the documentation of angel_orm_generator 1.0.0-alpha+1 Download angel_orm_generator 1.0.0-alpha+1 archive
1.0.0-alpha Jul 10, 2017 Go to the documentation of angel_orm_generator 1.0.0-alpha Download angel_orm_generator 1.0.0-alpha archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

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

  • Dart: 2.1.0
  • pana: 0.12.7


Detected platforms: other

Primary library: package:angel_orm_generator/angel_orm_generator.dart with components: io, build, mirrors.

Maintenance issues and suggestions

Use constrained dependencies. (-20 points)

The pubspec.yaml contains 1 dependency without version constraints. Specify version ranges for the following dependencies: inflection.

Maintain an example. (-10 points)

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_generator.dart.

Package is pre-release. (-5 points)

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


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
analyzer >=0.27.1 <2.0.0 0.34.0
angel_model ^1.0.0 1.0.0+1
angel_orm ^2.0.0-dev 2.0.0-dev.14
angel_serialize ^2.0.0 2.1.0
angel_serialize_generator ^2.0.0 2.2.1
build >=0.12.0 <2.0.0 1.0.2
build_config ^0.3.0 0.3.1+4
code_builder ^3.0.0 3.1.3
dart_style ^1.0.0 1.2.2
inflection 0.4.1
meta ^1.0.0 1.1.6
path ^1.0.0 1.6.2
recase ^2.0.0 2.0.0+1
source_gen ^0.9.0 0.9.2
Transitive dependencies
args 1.5.1
async 2.0.8
built_collection 4.1.0
built_value 6.1.6
charcode 1.1.2
code_buffer 1.0.1
convert 2.0.2
crypto 2.0.6
csslib 0.14.6
fixnum 0.10.9
front_end 0.1.7
glob 1.1.7
html 0.13.3+3
intl 0.15.7
json_annotation 2.0.0
kernel 0.3.7
logging 0.11.3+2
matcher 0.12.4
package_config 1.0.5
plugin 0.2.0+3
pub_semver 1.4.2
pubspec_parse 0.1.2+3
quiver 2.0.1
quiver_hashcode 2.0.0
source_span 1.4.1
stack_trace 1.9.3
string_scanner 1.0.4
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
angel_framework ^2.0.0-alpha
build_runner ^1.0.0
collection ^1.0.0 1.14.11
postgres ^1.0.0
test ^1.0.0