fluent_query_builder 1.1.18
fluent_query_builder: ^1.1.18 copied to clipboard

Dart native
Flutter Android iOS

A dart library that allows you to execute SQL queries in the PostgreSQL database in a fluent way, is very easy to execute.

10
likes
90 / 110
pub points
58 %
popularity

We analyzed this package on Jan 16, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/main.dart

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

  • 133 out of 549 API elements (24.2 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:fluent_query_builder/fluent_query_builder.dart that imports:
  • package:fluent_query_builder/src/db_layer.dart that imports:
  • package:fluent_query_builder/src/query_executors/mysql_executor_sqljocky5.dart that imports:
  • package:sqljocky5/sqljocky.dart that imports:
  • package:sqljocky5/connection/connection.dart that imports:
  • package:sqljocky5/connection/impl.dart that imports:
  • package:sqljocky5/comm/comm.dart that imports:
  • package:sqljocky5/comm/sender.dart that imports:
  • package:sqljocky5/comm/buffered_socket.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

Found 18 issues. Showing the first 2:

INFO: The value of the local variable 'model' isn't used.

lib/src/db_layer.dart:476:11

    ╷
476 │       var model = entity as FluentModelBase;
    │           ^^^^^
    ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/db_layer.dart

INFO: The value of the field '_updateSingleFunc' isn't used.

lib/src/models/query_builder.dart:62:61

   ╷
62 │   Future Function<T>(T entity, [QueryBuilder queryBuilder]) _updateSingleFunc;
   │                                                             ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/models/query_builder.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
logging>=0.11.3 <2.0.00.11.40.11.4
mysql1>=0.17.0 <0.18.00.17.10.17.1
pool>=1.2.3 <2.0.01.4.01.4.0
postgres>=2.1.1 <2.3.02.2.02.2.0
sqljocky5>=2.2.0 <2.5.02.2.12.2.1
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.4.22.4.2
buffer-1.0.71.0.7
charcode-1.1.31.1.3
collection-1.14.131.14.13
convert-2.1.12.1.1
crypto-2.1.52.1.5
path-1.7.01.7.0
stack_trace-1.9.61.9.6
synchronized-1.5.3+22.2.0+2
typed_buffer-2.2.12.2.1
typed_data-1.2.01.2.0

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

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

10
likes
90
pub points
58%
popularity

A dart library that allows you to execute SQL queries in the PostgreSQL database in a fluent way, is very easy to execute.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

insinfo2008@gmail.com

License

MIT (LICENSE)

Dependencies

logging, mysql1, pool, postgres, sqljocky5

More

Packages that depend on fluent_query_builder