query_builder_sql 0.0.0

  • README.md
  • Installing
  • Versions
  • 44

query_builder_sql

version 1.0.0-alpha build status

Common functionality for SQL database use with package:query_builder.

This package, in most cases, will not be used directly. package:query_builder_postgres and similar packages build on top of this package to create and execute safe SQL queries through a fluent, familiar API.

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  query_builder_sql: "^0.0.0"

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter packages get

Alternatively, your editor might support pub get or packages get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:query_builder_sql/query_builder_sql.dart';
        
Version Uploaded Documentation Archive
0.0.0 Jun 17, 2017 Go to the documentation of query_builder_sql 0.0.0 Download query_builder_sql 0.0.0 archive
1.0.0-alpha Jun 11, 2017 Go to the documentation of query_builder_sql 1.0.0-alpha Download query_builder_sql 1.0.0-alpha archive

Analysis

This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • tool failures on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
96 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
76 / 100
Overall score:
Weighted score of the above. [more]
44

Platforms

Detected platforms: Flutter, web, other

No platform restriction found in primary library package:query_builder_sql/query_builder_sql.dart.

Suggestions

  • Fix lib/src/abstract.dart.

    Strong-mode analysis of lib/src/abstract.dart failed with the following error:

    line: 25 col: 3
    Invalid override. The type of 'AbstractRepositoryQuery.pluck' ('<U>(Iterable<String>) → Future<Iterable<dynamic>>') isn't a subtype of 'RepositoryQuery<dynamic>.pluck' ('<U>(Iterable<String>) → Future<Iterable<U>>').

  • Maintain CHANGELOG.md.

    Changelog entries help clients to follow the progress in your code.

  • Fix issues reported by dartanalyzer.

    dartanalyzer reported 1 error(s) and 0 warning(s).

  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use query_builder_sql.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0
query_builder ^0.0.2 0.0.2
tuple ^1.0.0 1.0.1
Transitive dependencies
quiver_hashcode 1.0.0
Dev dependencies
test ^0.12.0