database 0.3.3 icon indicating copy to clipboard operation
database: ^0.3.3 copied to clipboard

A database access API that's vendor-agnostic. Adapters exist for browser APIs, SQLite, Google Cloud Firestore, PostgreSQL, ElasticSearch, Algolia, and others.

105
likes
100/ 140
pub points
81%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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: Apache-2.0.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 440 out of 1121 API elements (39.3 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS
  • ✓ Web
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 11 issues. Showing the first 2:

INFO: The import of 'package:database/src/database_adapter/requests/schema_read_request.dart' is unnecessary because all of the used elements are also provided by the import of 'package:database/database_adapter.dart'.

lib/src/database/adapters/schema_enforcing.dart:18:8

   ╷
18 │ import 'package:database/src/database_adapter/requests/schema_read_request.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/database/adapters/schema_enforcing.dart

INFO: 'List.List' is deprecated and shouldn't be used. Use a list literal, [], or the List.filled constructor instead.

lib/src/database/primitives/blob.dart:59:16

   ╷
59 │         return List<int>(0);
   │                ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/database/primitives/blob.dart

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
built_collection^4.0.04.3.25.1.1
built_value>=5.0.0 <8.0.07.1.08.4.1
charcode^1.1.01.3.11.3.1
collection^1.14.01.16.01.16.0
fixnum^0.10.00.10.111.0.1
meta^1.1.01.8.01.8.0
protobuf>=0.13.0 <2.0.01.1.42.1.0
universal_html^1.1.01.2.42.0.8
universal_io>=0.8.6 <2.0.01.0.22.0.4
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.9.02.9.0
convert-2.1.13.0.2
crypto-2.1.53.0.2
csslib-0.16.20.17.2
html-0.14.0+40.15.0
matcher-0.12.120.12.12
path-1.8.21.8.2
quiver-2.1.53.1.0
source_span-1.9.11.9.1
stack_trace-1.10.01.10.0
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1
zone_local-0.1.20.1.2

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

Found 6 issues. Showing the first 2:

The constraint `^4.0.0` on built_collection does not support the stable version `5.0.0`.

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

The constraint `>=5.0.0 <8.0.0` on built_value does not support the stable version `8.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.6.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.18, Dart 2.18.2.

105
likes
100
pub points
81%
popularity

Publisher

verified publisher icondint.dev

A database access API that's vendor-agnostic. Adapters exist for browser APIs, SQLite, Google Cloud Firestore, PostgreSQL, ElasticSearch, Algolia, and others.

Homepage

Documentation

API reference

License

Icon for licenses.Apache-2.0 (LICENSE)

Dependencies

built_collection, built_value, charcode, collection, fixnum, meta, protobuf, universal_html, universal_io

More

Packages that depend on database