queries 0.0.15

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 58

queries

Queryable collections for Dart language.

Version 0.0.15

Inspired by Microsoft LINQ.

Classes

Collection  
Dictionary  
DictionaryKeyCollection  
DictionaryValueCollection  
EqualityComparer  
HasIterator  
ICollection  
IDictionary  
IEnumerable  
IEqualityComparer  
IList  
IReadOnlyCollection  
IReadOnlyDictionary  
IReadOnlyList  
KeyValuePair  
ReadOnlyCollection  
ReadOnlyDictionary  
ReadOnlyDictionaryKeyCollection  
ReadOnlyDictionaryValueCollection

Methods

aggregate  
all  
any  
asIterable  
asQueryable  
average  
cast  
concat  
contains  
count  
defaultIfEmpty  
distinct  
elementAt  
elementAtOrDefault  
except  
first  
firstOrDefault  
groupBy  
groupJoin  
intersect  
join  
last  
lastOrDefault  
max  
min  
ofType  
orderBy  
orderByDescending  
range  
repeat  
select  
selectMany  
sequenceEqual  
single  
singleOrDefault  
skip  
skipWhile  
sum  
take  
takeWhile  
toCollection  
toDictionary  
toList  
toLookup  
union  
where

0.0.15

  • Minor fixes

Use this package as a library

1. Depend on it

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


dependencies:
  queries: "^0.0.15"

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:queries/queries.dart';
  
Version Uploaded Documentation Archive
0.0.15 Dec 22, 2014 Go to the documentation of queries 0.0.15 Download queries 0.0.15 archive
0.0.14 Jan 13, 2014 Go to the documentation of queries 0.0.14 Download queries 0.0.14 archive
0.0.12 Dec 21, 2013 Go to the documentation of queries 0.0.12 Download queries 0.0.12 archive
0.0.11 Dec 20, 2013 Go to the documentation of queries 0.0.11 Download queries 0.0.11 archive
0.0.9 Dec 18, 2013 Go to the documentation of queries 0.0.9 Download queries 0.0.9 archive
0.0.8 Dec 17, 2013 Go to the documentation of queries 0.0.8 Download queries 0.0.8 archive
0.0.7 Dec 17, 2013 Go to the documentation of queries 0.0.7 Download queries 0.0.7 archive
0.0.6 Dec 16, 2013 Go to the documentation of queries 0.0.6 Download queries 0.0.6 archive
0.0.5 Dec 16, 2013 Go to the documentation of queries 0.0.5 Download queries 0.0.5 archive
0.0.4 Dec 16, 2013 Go to the documentation of queries 0.0.4 Download queries 0.0.4 archive

All 13 versions...

Analysis

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

  • Dart: 2.0.0-dev.54.0
  • pana: 0.10.6

Scores

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

Platforms

Detected platforms: Flutter, web, other

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

Suggestions

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 15 errors 17 hints.

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

    line: 24 col: 21
    The type 'IDictionary<TKey, TValue>' used in the 'for' loop must implement Iterable.

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

    line: 211 col: 21
    The type '_ReadOnlyDictionary<TKey, TValue>' used in the 'for' loop must implement Iterable.

    Similar analysis of the following files failed:

    • lib/src/queries/enumerable.dart (error)
    • lib/src/queries/grouping.dart (error)
    • lib/src/queries/iterators.dart (error)
    • lib/src/queries/ordered_queryable.dart (error)
    • lib/src/queries/queryable.dart (error)
    • lib/src/collections/collection.dart (hint)
    • lib/src/collections/enumerable.dart (hint)
    • lib/src/collections/key_value_pair.dart (hint)
    • lib/src/collections/list.dart (hint)
    • lib/src/collections/read_only_collection.dart (hint)
    • lib/src/queries/lookup.dart (hint)
    • lib/src/queries/ordered_enumerable.dart (hint)
    • lib/src/queries/symmerge_sorter.dart (hint)
  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

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

Dependencies

Package Constraint Resolved Available
Dev dependencies
build_tools any
file_utils any
unittest any