serverpod_postgres_pool 2.1.1 copy "serverpod_postgres_pool: ^2.1.1" to clipboard
serverpod_postgres_pool: ^2.1.1 copied to clipboard

Postgresql connection pool with a wide range of automated reconnect parameters.

1
likes
90/ 160
pub points
4%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: serverpod_postgres_pool,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: serverpod_postgres_pool.

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

112 out of 162 API elements (69.1 %) have documentation comments.

Some symbols that are missing documentation: postgres_pool, postgres_pool.LSN.operator +, postgres_pool.LSN.operator -, postgres_pool.LSN.value, postgres_pool.PgEndpoint.database.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:serverpod_postgres_pool/postgres_pool.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/substituter.dart that imports:
  • package:postgres/src/query.dart that imports:
  • package:postgres/src/execution_context.dart that imports:
  • package:postgres/src/connection.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: 'PgPool.query' ('Future

lib/postgres_pool.dart:560:28

    ╷
560 │   Future<PostgreSQLResult> query(
    │                            ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/postgres_pool.dart

ERROR: '_PgExecutionContextWrapper.query' ('Future

lib/postgres_pool.dart:727:28

    ╷
727 │   Future<PostgreSQLResult> query(String fmtString,
    │                            ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/postgres_pool.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
executor ^2.2.2 2.2.4 2.2.4
postgres ^2.3.0 2.6.4 3.4.4
retry ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
buffer - 1.2.3 1.2.3
charcode - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
pool - 1.5.1 1.5.1
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.3 1.0.3
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
typed_data - 1.4.0 1.4.0
unorm_dart - 0.3.0 0.3.0

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

The constraint `^2.3.0` on postgres does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions postgres to update the constraint.

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.22.15, Dart 3.5.4.

Check the analysis log for details.

1
likes
90
pub points
4%
popularity

Publisher

unverified uploader

Postgresql connection pool with a wide range of automated reconnect parameters.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

executor, postgres, retry

More

Packages that depend on serverpod_postgres_pool