dartian_orm 1.0.0 copy "dartian_orm: ^1.0.0" to clipboard
dartian_orm: ^1.0.0 copied to clipboard

Drift-based ORM for Dartian with relationships, migrations, and query builder - SQLite and PostgreSQL

40/ 160
pub points
39
downloads

We analyzed this package 3 hours ago, and awarded it 40 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

1381 out of 1459 API elements (94.7 %) have documentation comments.

Some symbols that are missing documentation: dartian_orm.BaseSelectStatement.BaseSelectStatement.new, dartian_orm.BelongsTo.BelongsTo.new, dartian_orm.BelongsTo.database, dartian_orm.BelongsTo.foreignKey, dartian_orm.BelongsTo.table.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: Target of URI hasn't been generated: 'package:dartian_orm/src/drift_database.g.dart'.

lib/src/drift_database.dart:7:6

  ╷
7 │ part 'drift_database.g.dart';
  │      ^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/drift_database.dart

ERROR: The method 'close' isn't defined for the type 'DartianDatabase'.

lib/src/drift_database.dart:97:37

   ╷
97 │   Future<void> closeConnection() => close();
   │                                     ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/drift_database.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
drift ^2.29.0 2.31.0 2.32.0
drift_postgres ^1.3.1 1.3.1 1.3.1
path ^1.9.1 1.9.1 1.9.1
postgres ^3.5.8 3.5.9 3.5.9
sqlite3 ^2.9.4 2.9.4 3.2.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
meta - 1.18.2 1.18.2
pool - 1.5.2 1.5.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
typed_data - 1.4.0 1.4.0
uuid - 4.5.3 4.5.3
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^2.9.4` on sqlite3 does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions sqlite3 to update the constraint.

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • URI_HAS_NOT_BEEN_GENERATED - lib/src/drift_database.dart:7:6 - Target of URI hasn't been generated: 'package:dartian_orm/src/drift_database.g.dart'.
  • UNDEFINED_METHOD - lib/src/drift_database.dart:97:37 - The method 'close' isn't defined for the type 'DartianDatabase'.

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.11, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
40
points
39
downloads

Documentation

API reference

Publisher

verified publisherdartian.org

Weekly Downloads

Drift-based ORM for Dartian with relationships, migrations, and query builder - SQLite and PostgreSQL

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#orm #database #drift #sqlite

License

unknown (license)

Dependencies

drift, drift_postgres, path, postgres, sqlite3

More

Packages that depend on dartian_orm