drift_postgres 1.2.1 copy "drift_postgres: ^1.2.1" to clipboard
drift_postgres: ^1.2.1 copied to clipboard

Postgres implementation and APIs for the drift database package.

13
likes
140/ 140
pub points
82%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

44 out of 67 API elements (65.7 %) have documentation comments.

Some symbols that are missing documentation: drift.postgres.PgDatabase.impl, drift.postgres.PgDatabase.isSequential, drift.postgres.PgDatabase.logStatements, drift.postgres.PgDate.day, drift.postgres.PgDate.PgDate.fromDateTime.

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:drift_postgres/drift_postgres.dart that imports:
  • package:drift_postgres/src/pg_database.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/types/text_search.dart that imports:
  • package:postgres/src/types/type_registry.dart that imports:
  • package:postgres/src/types/text_codec.dart that imports:
  • package:postgres/src/exceptions.dart that imports:
  • dart:io
OK
Pass static analysis
50 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Package Constraint Compatible Latest
collection ^1.16.0 1.18.0 1.18.0
drift ^2.0.0 2.17.0 2.17.0
meta ^1.8.0 1.14.0 1.14.0
postgres ^3.0.0 3.2.0 3.2.0
uuid ^4.2.0 4.4.0 4.4.0
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
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
fixnum - 1.1.0 1.1.0
js - 0.7.1 0.7.1
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
sprintf - 7.0.0 7.0.0
sqlite3 - 2.4.2 2.4.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
web - 0.5.1 0.5.1

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

13
likes
140
pub points
82%
popularity

Publisher

verified publishersimonbinder.eu

Postgres implementation and APIs for the drift database package.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (LICENSE)

Dependencies

collection, drift, meta, postgres, uuid

More

Packages that depend on drift_postgres