Skip to main content

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

Postgres implementation and APIs for the drift database package.

130/ 160
pub points
11.1k
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Repository has multiple matching pubspec.yaml with name: drift_postgres.

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: drift_postgres,
    • contains a version property, and,
    • does not contain a publish_to property.

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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

59 out of 93 API elements (63.4 %) have documentation comments.

Some symbols that are missing documentation: drift.postgres.PgDatabase.PgDatabase.new, drift.postgres.PgDatabase.beginTransactionInContext, drift.postgres.PgDatabase.impl, drift.postgres.PgDatabase.isSequential, drift.postgres.PgDatabase.logStatements.

Passed check 10/10 points: Package has 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: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/types.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
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
collection ^1.16.0 1.19.1 1.19.1
drift ^2.0.0 2.35.4 2.35.4
meta ^1.8.0 1.19.0 1.19.0
postgres ^3.0.0 3.7.0 3.7.0
uuid ^4.2.0 4.6.0 4.6.0
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
code_assets - 2.2.0 2.2.0
convert - 3.1.2 3.1.2
crypto - 3.0.8 3.0.8
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
glob - 2.2.0 2.2.0
hooks - 2.2.0 2.2.0
logging - 1.3.0 1.3.0
native_toolchain_c - 0.19.6 0.19.6
path - 1.9.1 1.9.1
platform - 3.2.0 3.2.0
pool - 1.5.3 1.5.3
process - 5.0.6 5.0.6
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
sqlite3 - 3.9.2 3.9.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.2 1.1.2
yaml - 3.1.4 3.1.4

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

  • UNDEFINED_CLASS - lib/drift_postgres.dart:41:16 - Undefined class 'CustomSqlType'.
  • UNDEFINED_CLASS - lib/drift_postgres.dart:44:16 - Undefined class 'CustomSqlType'.
  • UNDEFINED_CLASS - lib/drift_postgres.dart:47:16 - Undefined class 'CustomSqlType'.

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.19, Dart 3.14.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
28
likes
130
points
11.1k
downloads

Documentation

API reference

Publisher

verified publishersimonbinder.eu

Weekly Downloads

Postgres implementation and APIs for the drift database package.

License

MIT (license)

Dependencies

collection, drift, meta, postgres, uuid

More

Packages that depend on drift_postgres