jaguar_query 2.2.8

query #

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

Changelog #

2.2.6 #

  • Alter statement

2.2.5 #

  • IS conditional operator

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

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub 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';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
81
Health:
Code health derived from static analysis. [more]
98
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
99
Overall:
Weighted score of the above. [more]
89
Learn more about scoring.

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

  • Dart: 2.4.0
  • pana: 0.12.19

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/insert_many.dart. (-1 points)

Analysis of lib/src/core/statement/insert_many.dart reported 2 hints:

line 28 col 7: DO use curly braces for all flow control structures.

line 34 col 30: DO use curly braces for all flow control structures.

Fix lib/src/core/statement/upsert_many.dart. (-1 points)

Analysis of lib/src/core/statement/upsert_many.dart reported 2 hints:

line 28 col 7: DO use curly braces for all flow control structures.

line 34 col 30: DO use curly braces for all flow control structures.

Fix lib/src/core/statement/create_db.dart. (-0.50 points)

Analysis of lib/src/core/statement/create_db.dart reported 1 hint:

line 14 col 8: The value of the field '_onlyIfExists' isn't used.

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

Admin