knex_dart_postgres 0.3.0 copy "knex_dart_postgres: ^0.3.0" to clipboard
knex_dart_postgres: ^0.3.0 copied to clipboard

PostgreSQL driver for knex_dart — connect and execute queries against a PostgreSQL database using the knex_dart query builder.

130/ 160
pub points
175
downloads

We analyzed this package 4 days ago, and awarded it 130 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

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.

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:knex_dart_postgres/knex_dart_postgres.dart that imports:
  • package:knex_dart_postgres/src/knex_postgres.dart that imports:
  • package:knex_dart_postgres/src/postgres_client.dart that imports:
  • package:knex_dart/knex_dart.dart that imports:
  • package:knex_dart/src/migration/migrator.dart that imports:
  • package:knex_dart/src/migration/migration_source.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/universal_io.dart that imports:
  • package:universal_io/src/_exports_in_browser.dart that imports:
  • package:universal_io/src/internet_address.dart that imports:
  • dart:io
Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
knex_dart ^1.2.0 1.3.0 1.3.0
logging ^1.2.0 1.3.0 1.3.0
postgres ^3.4.50 3.5.12 3.5.12
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.7 3.0.7
knex_dart_capabilities - 0.3.0 0.3.0
meta - 1.18.3 1.18.3
path - 1.9.1 1.9.1
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

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

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 11 errors:

  • UNDEFINED_CLASS - lib/src/knex_postgres.dart:25:9 - Undefined class 'KnexInterceptorPipeline'.
  • UNDEFINED_CLASS - lib/src/knex_postgres.dart:31:14 - Undefined class 'KnexInterceptorPipeline'.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/knex_postgres.dart:44:10 - The name 'QueryInterceptor' isn't a type, so it can't be used as a type argument.

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.12, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
175
downloads

Documentation

API reference

Publisher

verified publishermahawarkartikey.in

Weekly Downloads

PostgreSQL driver for knex_dart — connect and execute queries against a PostgreSQL database using the knex_dart query builder.

Repository (GitHub)
View/report issues
Contributing

Topics

#sql #query-builder #database #postgresql #knex

License

MIT (license)

Dependencies

knex_dart, logging, postgres, universal_io

More

Packages that depend on knex_dart_postgres