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

60/ 160
pub points
21
downloads

We analyzed this package 18 hours ago, and awarded it 60 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.

Passed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:dartian_orm/dartian_orm.dart that imports:
  • package:dartian_orm/src/drift_database.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/v3/database_info.dart that imports:
  • package:postgres/src/messages/logical_replication_messages.dart that imports:
  • package:postgres/src/messages/shared_messages.dart that imports:
  • package:postgres/src/messages/server_messages.dart that imports:
  • package:postgres/src/types.dart that imports:
  • package:postgres/src/types/type_registry.dart that imports:
  • package:postgres/src/types/text_search.dart that imports:
  • package:postgres/src/exceptions.dart that imports:
  • dart:io
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.30.0 2.30.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.1.2
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.1.5 2.1.5
fixnum - 1.1.1 1.1.1
meta - 1.17.0 1.17.0
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.2 4.5.2
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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
60
points
21
downloads

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

Documentation

API reference

License

unknown (license)

Dependencies

drift, drift_postgres, path, postgres, sqlite3

More

Packages that depend on dartian_orm