basalt_postgres 0.0.2 copy "basalt_postgres: ^0.0.2" to clipboard
basalt_postgres: ^0.0.2 copied to clipboard

Postgres backend for the Basalt Dart ORM — a driver-backed Connection + SqlDialect on package:postgres, with introspection and json/uuid/numeric/array codecs.

130/ 160
pub points
38
downloads

We analyzed this package 12 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.

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

53 out of 67 API elements (79.1 %) have documentation comments.

Some symbols that are missing documentation: Getting Started, adapter.PostgresAdapter.PostgresAdapter.new, adapter.PostgresEndpoint.PostgresEndpoint.new, adapter.PostgresEndpoint.database, adapter.PostgresEndpoint.host.

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:basalt_postgres/basalt_postgres.dart that imports:
  • package:basalt_postgres/src/postgres_connection.dart that imports:
  • package:postgres/postgres.dart that imports:
  • package:postgres/src/v3/database_info.dart that imports:
  • package:postgres/src/messages/logical_replication_messages.dart that imports:
  • package:postgres/src/messages/shared_messages.dart that imports:
  • package:postgres/src/messages/server_messages.dart that imports:
  • package:postgres/src/types.dart that imports:
  • package:postgres/src/types/type_registry.dart that imports:
  • package:postgres/src/types/text_search.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
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
basalt >=0.0.2 <0.1.0 0.0.3 0.1.0
postgres ^3.0.0 3.5.12 3.5.12
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
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
pool - 1.5.3 1.5.3
stack_trace - 1.12.2 1.12.2
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.

The constraint `>=0.0.2 <0.1.0` on basalt does not support the stable version `0.1.0`.

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

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 1 error:

  • UNDEFINED_CLASS - lib/src/postgres_connection.dart:252:9 - Undefined class 'TxSession'.

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.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
130
points
38
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Postgres backend for the Basalt Dart ORM — a driver-backed Connection + SqlDialect on package:postgres, with introspection and json/uuid/numeric/array codecs.

Repository (GitHub)
View/report issues
Contributing

Topics

#orm #database #postgres #sql

License

MIT (license)

Dependencies

basalt, postgres

More

Packages that depend on basalt_postgres