mysql1 0.19.2 copy "mysql1: ^0.19.2" to clipboard
mysql1: ^0.19.2 copied to clipboard

A library for connecting to and querying MySQL & MariaDB databases.

470
likes
110/ 140
pub points
97%
popularity

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

failed
Follow Dart file conventions
20 / 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

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

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

25 out of 66 API elements (37.9 %) have documentation comments.

Some symbols that are missing documentation: mysql1, mysql1.CharacterSet, mysql1.CharacterSet.CharacterSet, mysql1.CharacterSet.UTF8, mysql1.CharacterSet.UTF8MB4.

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:mysql1/mysql1.dart that imports:
  • package:mysql1/src/results/row.dart that imports:
  • package:mysql1/src/buffer.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.

lib/src/query/standard_data_packet.dart:23:26

   ╷
23 │     values = List<dynamic?>.filled(fieldPackets.length, null);
   │                          ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/query/standard_data_packet.dart

WARNING: The '?' is unnecessary because 'dynamic' is nullable without it.

lib/src/results/row.dart:26:30

   ╷
26 │   dynamic operator [](dynamic? index) {
   │                              ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/results/row.dart

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.15.0 1.18.0 1.18.0
crypto ^3.0.0 3.0.3 3.0.3
logging ^1.0.1 1.2.0 1.2.0
pool ^1.5.0 1.5.1 1.5.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
meta - 1.15.0 1.15.0
path - 1.9.0 1.9.0
stack_trace - 1.11.1 1.11.1
typed_data - 1.3.2 1.3.2

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

Check the analysis log for details.

470
likes
110
pub points
97%
popularity

Publisher

unverified uploader

A library for connecting to and querying MySQL & MariaDB databases.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (LICENSE)

Dependencies

collection, crypto, logging, pool

More

Packages that depend on mysql1