query_builder 0.0.2

  • README.md
  • Installing
  • Versions
  • 29

data_store

Database-agnostic ORM for Dart applications.

TODO: Mention that this is basically Eloquent.

Use this package as a library

1. Depend on it

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


dependencies:
  query_builder: ^0.0.2

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 flutter 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/query_builder.dart';
  
Version Uploaded Documentation Archive
0.0.2 Jun 11, 2017 Go to the documentation of query_builder 0.0.2 Download query_builder 0.0.2 archive
0.0.1 Apr 19, 2017 Go to the documentation of query_builder 0.0.1 Download query_builder 0.0.1 archive
0.0.0 Mar 29, 2017 Go to the documentation of query_builder 0.0.0 Download query_builder 0.0.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
90
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
12
Overall:
Weighted score of the above. [more]
29
Learn more about scoring.

We analyzed this package on Dec 5, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.1.0
  • pana: 0.12.7

Platforms

Detected platforms: Flutter, web, other

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

Health issues and suggestions

Document public APIs (-10 points)

128 out of 128 API elements (library, class, field or method) have no adequate dartdoc content. Good documentation improves code readability and discoverability through search.

Format lib/query_builder.dart.

Run dartfmt to format lib/query_builder.dart.

Format lib/src/data_store.dart.

Run dartfmt to format lib/src/data_store.dart.

Format lib/src/equality.dart.

Run dartfmt to format lib/src/equality.dart.

Fix additional 3 files with analysis or formatting issues.

Additional issues in the following files:

  • lib/src/exception.dart (Run dartfmt to format lib/src/exception.dart.)
  • lib/src/repository.dart (Run dartfmt to format lib/src/repository.dart.)
  • lib/src/results/results.dart (Run dartfmt to format lib/src/results/results.dart.)

Maintenance issues and suggestions

Maintain CHANGELOG.md. (-20 points)

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

Package is getting outdated. (-48.49 points)

The package was released 77 weeks ago.

Maintain an example. (-10 points)

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

Package is pre-v0.1 release. (-10 points)

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

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0
Dev dependencies
test ^0.12.0