jaguar_query 2.2.4

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 85

query #

Dialect neutral, fluent Dart DSL to build SQL/NoSQL queries

Changelog #

2.2.4 #

  • upsert and upsertMany

Use this package as a library

1. Depend on it

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


dependencies:
  jaguar_query: ^2.2.4

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:jaguar_query/jaguar_query.dart';
  
Version Uploaded Documentation Archive
2.2.8 Mar 12, 2019 Go to the documentation of jaguar_query 2.2.8 Download jaguar_query 2.2.8 archive
2.2.6 Feb 20, 2019 Go to the documentation of jaguar_query 2.2.6 Download jaguar_query 2.2.6 archive
2.2.5 Feb 18, 2019 Go to the documentation of jaguar_query 2.2.5 Download jaguar_query 2.2.5 archive
2.2.4 Sep 25, 2018 Go to the documentation of jaguar_query 2.2.4 Download jaguar_query 2.2.4 archive
2.2.2 Aug 13, 2018 Go to the documentation of jaguar_query 2.2.2 Download jaguar_query 2.2.2 archive
2.1.10 Jul 18, 2018 Go to the documentation of jaguar_query 2.1.10 Download jaguar_query 2.1.10 archive
2.1.9 Jul 17, 2018 Go to the documentation of jaguar_query 2.1.9 Download jaguar_query 2.1.9 archive
2.1.8 Jul 17, 2018 Go to the documentation of jaguar_query 2.1.8 Download jaguar_query 2.1.8 archive
2.1.6 Jul 15, 2018 Go to the documentation of jaguar_query 2.1.6 Download jaguar_query 2.1.6 archive
2.1.5 Jul 7, 2018 Go to the documentation of jaguar_query 2.1.5 Download jaguar_query 2.1.5 archive

All 57 versions...

Popularity:
Describes how popular the package is relative to other packages. [more]
81
Health:
Code health derived from static analysis. [more]
82
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
99
Overall:
Weighted score of the above. [more]
85
Learn more about scoring.

We analyzed this package on Apr 4, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.2.0
  • pana: 0.12.14

Platforms

Detected platforms: Flutter, web, other

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

Health suggestions

Fix lib/src/core/statement/create/column.dart. (-6.31 points)

Analysis of lib/src/core/statement/create/column.dart reported 13 hints, including:

line 18 col 23: Use = to separate a named parameter from its default value.

line 19 col 25: Use = to separate a named parameter from its default value.

line 20 col 21: Use = to separate a named parameter from its default value.

line 49 col 23: Use = to separate a named parameter from its default value.

line 50 col 21: Use = to separate a named parameter from its default value.

Fix lib/src/core/statement/create/create.dart. (-5.84 points)

Analysis of lib/src/core/statement/create/create.dart reported 12 hints, including:

line 10 col 38: Use = to separate a named parameter from its default value.

line 15 col 23: Use = to separate a named parameter from its default value.

line 16 col 25: Use = to separate a named parameter from its default value.

line 17 col 19: Use = to separate a named parameter from its default value.

line 53 col 23: Use = to separate a named parameter from its default value.

Fix lib/src/core/expression/field.dart. (-4.41 points)

Analysis of lib/src/core/expression/field.dart reported 9 hints, including:

line 216 col 26: Use = to separate a named parameter from its default value.

line 217 col 19: Use = to separate a named parameter from its default value.

line 218 col 22: Use = to separate a named parameter from its default value.

line 247 col 23: Use = to separate a named parameter from its default value.

line 248 col 19: Use = to separate a named parameter from its default value.

Fix additional 5 files with analysis or formatting issues. (-3 points)

Additional issues in the following files:

  • lib/src/core/core.dart (2 hints)
  • lib/src/core/statement/create_db.dart (1 hint)
  • lib/src/core/statement/drop.dart (1 hint)
  • lib/src/core/statement/find/find.dart (1 hint)
  • lib/src/core/statement/statements.dart (1 hint)

Maintenance suggestions

The package description is too short. (-1 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and jaguar_query.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
meta ^1.1.5 1.1.7
Dev dependencies
jaguar_query_postgres
jaguar_serializer ^2.2.0
test ^1.3.0