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
70/ 140
pub points
3%
popularity

We analyzed this package 3 days ago, and awarded it 70 pub points (of a possible 140):

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

OK
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
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
10 / 20trigger 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.3 2.2.3
postgres ^2.3.0 2.6.4 3.2.0
retry ^3.1.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
buffer - 1.2.3 1.2.3
charcode - 1.3.1 1.3.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
pedantic - 1.11.1 1.11.1
pool - 1.5.1 1.5.1
sasl_scram - 0.1.1 0.1.1
saslprep - 1.0.2 1.0.2
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
typed_data - 1.3.2 1.3.2
unorm_dart - 0.2.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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

1
likes
70
pub points
3%
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