angel_orm_postgres 1.0.0

Dart native
Flutter Android iOS

PostgreSQL support for Angel's ORM. Includes functionality for querying and transactions.

0
likes
80 / 110
pub points
70 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 15 out of 20 API elements (75.0 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:angel_orm_postgres/angel_orm_postgres.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/execution_context.dart that imports:
  • package:postgres/src/connection.dart that imports:
  • package:postgres/src/client_messages.dart that imports:
  • package:postgres/src/query.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

INFO: Unnecessary new keyword.

lib/angel_orm_postgres.dart:87:34

   ╷
87 │   final Pool _pool, _connMutex = new Pool(1);
   │                                  ^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/angel_orm_postgres.dart

INFO: Unnecessary new keyword.

lib/angel_orm_postgres.dart:90:17

   ╷
90 │       : _pool = new Pool(size) {
   │                 ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/angel_orm_postgres.dart

Support up-to-date dependencies
10 / 20

0/10 points: All of the package dependencies are supported in the latest version

  • Could not run pub outdated: pub get failed:
Because angel_orm_postgres depends on angel_orm_test from path which doesn't exist (could not find package angel_orm_test at "../angel_orm_test"), version solving failed.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0
likes
80
pub points
70%
popularity

PostgreSQL support for Angel's ORM. Includes functionality for querying and transactions.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

thosakwe@gmail.com

License

MIT (LICENSE)

Dependencies

angel_orm, logging, pool, postgres

More

Packages that depend on angel_orm_postgres