dartian_orm 1.0.0
dartian_orm: ^1.0.0 copied to clipboard
Drift-based ORM for Dartian with relationships, migrations, and query builder - SQLite and PostgreSQL
We analyzed this package 18 hours ago, and awarded it 60 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
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.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:dartian_orm/src/drift_database.dartthat imports:package:postgres/postgres.dartthat imports:package:postgres/src/v3/database_info.dartthat imports:package:postgres/src/messages/logical_replication_messages.dartthat imports:package:postgres/src/messages/shared_messages.dartthat imports:package:postgres/src/messages/server_messages.dartthat imports:package:postgres/src/types.dartthat imports:package:postgres/src/types/type_registry.dartthat imports:package:postgres/src/types/text_search.dartthat imports:package:postgres/src/exceptions.dartthat imports:dart:io
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.