knex_dart_postgres 0.3.2
knex_dart_postgres: ^0.3.2 copied to clipboard
PostgreSQL driver for knex_dart — connect and execute queries against a PostgreSQL database using the knex_dart query builder.
We analyzed this package 5 hours ago, and awarded it 140 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
45 out of 51 API elements (88.2 %) have documentation comments.
Some symbols that are missing documentation: knex_dart_postgres.KnexPostgres.close, knex_dart_postgres.KnexPostgresTransaction.delete, knex_dart_postgres.KnexPostgresTransaction.execute, knex_dart_postgres.KnexPostgresTransaction.insert, knex_dart_postgres.KnexPostgresTransaction.select.
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:knex_dart_postgres/knex_dart_postgres.dartthat imports:package:knex_dart_postgres/src/knex_postgres.dartthat imports:package:knex_dart_postgres/src/postgres_client.dartthat imports:package:knex_dart/knex_dart.dartthat imports:package:knex_dart/src/migration/migrator.dartthat imports:package:knex_dart/src/migration/migration_source.dartthat imports:package:universal_io/io.dartthat imports:package:universal_io/universal_io.dartthat imports:package:universal_io/src/_exports_in_browser.dartthat imports:package:universal_io/src/internet_address.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: 'Transaction' is deprecated and shouldn't be used. Client.transaction()/Transaction were never implemented (every driver override throws) and will be removed in a future major version. Use the callback-style transaction API instead, e.g. KnexPostgres.trx((trx) async { ... }). Client.runInTransaction() is safe only on drivers that override it to pin one physical connection (Postgres, MySQL, SQLite).
lib/src/knex_postgres.dart:357:10
╷
357 │ Future<Transaction> transaction([TransactionConfig? config]) =>
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/knex_postgres.dart
INFO: 'TransactionConfig' is deprecated and shouldn't be used. Client.transaction()/Transaction were never implemented (every driver override throws) and will be removed in a future major version. Use the callback-style transaction API instead, e.g. KnexPostgres.trx((trx) async { ... }). Client.runInTransaction() is safe only on drivers that override it to pin one physical connection (Postgres, MySQL, SQLite).
lib/src/knex_postgres.dart:357:36
╷
357 │ Future<Transaction> transaction([TransactionConfig? config]) =>
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/knex_postgres.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
knex_dart |
^1.3.0 |
1.4.0 | 1.4.0 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
postgres |
^3.5.12 |
3.7.0 | 3.7.0 | |
universal_io |
^2.3.1 |
2.3.1 | 2.3.1 |
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 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.8 | 3.0.8 | |
knex_dart_capabilities |
- | 0.3.2 | 0.3.2 | |
meta |
- | 1.19.0 | 1.19.0 | |
path |
- | 1.9.1 | 1.9.1 | |
pool |
- | 1.5.3 | 1.5.3 | |
stack_trace |
- | 1.12.2 | 1.12.2 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 |
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.14.0.
Check the analysis log for details.