Dialect neutral, fluent Dart DSL to build SQL/NoSQL queries
upsert
and upsertMany
Add this to your package's pubspec.yaml file:
dependencies:
jaguar_query: ^2.2.4
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.
Now in your Dart code, you can use:
import 'package:jaguar_query/jaguar_query.dart';
Version | Uploaded | Documentation | Archive |
---|---|---|---|
2.2.4 | Sep 25, 2018 |
|
|
2.2.2 | Aug 13, 2018 |
|
|
2.1.10 | Jul 18, 2018 |
|
|
2.1.9 | Jul 17, 2018 |
|
|
2.1.8 | Jul 17, 2018 |
|
|
2.1.6 | Jul 15, 2018 |
|
|
2.1.5 | Jul 7, 2018 |
|
|
2.1.4 | Jul 6, 2018 |
|
|
2.1.2 | Jul 5, 2018 |
|
|
2.1.1 | Jun 27, 2018 |
|
|
Popularity:
Describes how popular the package is relative to other packages.
[more]
|
67
|
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]
|
78
|
We analyzed this package on Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, web, other
No platform restriction found in primary library
package:jaguar_query/jaguar_query.dart
.
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)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.
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 |