eloquent 4.2.1
eloquent: ^4.2.1 copied to clipboard
Laravel-style (Eloquent 5.2) query builder, schema builder and migrations for Dart, with PostgreSQL and MySQL drivers.
We analyzed this package 4 days ago, and awarded it 150 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
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
1636 out of 2758 API elements (59.3 %) have documentation comments.
Some symbols that are missing documentation: eloquent, eloquent.AbstractPlatform.AbstractPlatform.new, eloquent.AbstractPlatform.convertBooleansToDatabaseValue, eloquent.AbstractPlatform.convertFromBoolean, eloquent.AbstractPlatform.createReservedKeywordsList.
10/10 points: Package has 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 does not support platform `Web`.
Because:
package:eloquent/eloquent.dartthat imports:package:eloquent/src/connectors/connection_factory.dartthat imports:package:eloquent/src/connectors/mysql_connector.dartthat imports:package:eloquent/src/pdo/mysql_client/mysql_client_pdo.dartthat imports:package:eloquent/src/pdo/mysql_client/mysql_client_pdo_transaction.dartthat imports:package:mysql_dart/mysql_dart.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 37 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/connection.dart:1517:30
╷
1517 │ dynamic setEventDispatcher($events) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/connection.dart
INFO: Missing type annotation.
lib/src/container/container.dart:113:13
╷
113 │ void bind(abstract, [dynamic concrete, bool shared = false]) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/container/container.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.19.1 |
1.19.1 | 1.19.1 | |
dargres |
^4.1.1 |
4.1.1 | 4.1.1 | |
dpgsql |
^1.3.1 |
1.3.1 | 1.3.1 | |
intl |
>=0.17.0 <3.0.0 |
0.20.3 | 0.20.3 | |
meta |
^1.17.0 |
1.19.0 | 1.19.0 | |
mysql_dart |
^4.0.1 |
4.0.1 | 4.0.1 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
postgres |
^3.5.4 |
3.6.0 | 3.6.0 | |
postgres_fork |
^3.1.2 |
3.1.2 | 3.1.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.1 | 2.13.1 | |
buffer |
- | 1.2.3 | 1.2.3 | |
charcode |
- | 1.4.0 | 1.4.0 | |
clock |
- | 1.1.3 | 1.1.3 | |
crypto |
- | 3.0.8 | 3.0.8 | |
pool |
- | 1.5.3 | 1.5.3 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.19, Dart 3.13.7.
Check the analysis log for details.