sql_lite_builder 1.0.0 copy "sql_lite_builder: ^1.0.0" to clipboard
sql_lite_builder: ^1.0.0 copied to clipboard

A type-safe, fluent SQL query builder for Flutter and sqflite that enables clean, composable queries without raw SQL strings, offering automatic parameterization and built-in SQL injection protection.

140/ 160
pub points
9
downloads

We analyzed this package 3 days ago, and awarded it 140 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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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

219 out of 237 API elements (92.4 %) have documentation comments.

Some symbols that are missing documentation: sql_lite_builder.DangerousOperationException.DangerousOperationException.new, sql_lite_builder.InvalidOperatorException.InvalidOperatorException.new, sql_lite_builder.InvalidQueryStateException.InvalidQueryStateException.new, sql_lite_builder.JoinClause.JoinClause.new, sql_lite_builder.Migration.Migration.new.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:sql_lite_builder/sql_lite_builder.dart that imports:
  • package:sql_lite_builder/src/schema/migration_runner.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:sql_lite_builder/sql_lite_builder.dart that imports:
  • package:sql_lite_builder/src/schema/migration_runner.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Web`.

Because:

  • package:sql_lite_builder/sql_lite_builder.dart that imports:
  • package:sql_lite_builder/src/schema/migration_runner.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: Statements in a for should be enclosed in a block.

lib/src/compiler/sql_compiler.dart:307:38

    ╷
307 │         for (final b in rawBindings) binder.bind(b);
    │                                      ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/compiler/sql_compiler.dart

INFO: Unnecessary braces in a string interpolation.

lib/src/schema/table_schema.dart:90:26

   ╷
90 │     return 'CREATE TABLE ${guard}`$name` (\n$cols\n)$strictSuffix';
   │                          ^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/schema/table_schema.dart

Passed report section
Support up-to-date dependencies
40 / 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
meta ^1.11.0 1.19.0 1.19.0
path ^1.9.0 1.9.1 1.9.1
sqflite ^2.3.3+1 2.4.4 2.4.4
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.1
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
sqflite_android - 2.4.4 2.4.4
sqflite_common - 2.5.12 2.5.12
sqflite_darwin - 2.4.4 2.4.4
sqflite_platform_interface - 2.4.2 2.4.2
synchronized - 3.4.2 3.4.2
vector_math - 2.4.2 2.4.2

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
140
points
9
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A type-safe, fluent SQL query builder for Flutter and sqflite that enables clean, composable queries without raw SQL strings, offering automatic parameterization and built-in SQL injection protection.

Repository (GitHub)
View/report issues

Topics

#sqlite #database #query-builder #sqflite #type-safe

License

MIT (license)

Dependencies

flutter, meta, path, sqflite

More

Packages that depend on sql_lite_builder