Run CI with Dart 2.10

This commit is contained in:
Simon Binder 2020-10-02 18:43:27 +02:00
parent f295af1398
commit fac99e1d6b
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
4 changed files with 5 additions and 1 deletions

View File

@ -76,6 +76,8 @@ mixin TableInfo<TableDsl extends Table, D extends DataClass> on Table
return map(rawValues);
}
/// Creates an alias of this table that will write the name [alias] when used
/// in a query.
TableInfo<TableDsl, D> createAlias(String alias);
@override

View File

@ -151,6 +151,7 @@ class _MappedSelectable<S, T> extends Selectable<T> {
List<T> _mapResults(List<S> results) => results.map(_mapper).toList();
}
/// Mixin for a [Query] that operates on a single primary table only.
mixin SingleTableQueryMixin<T extends Table, D extends DataClass>
on Query<T, D> {
/// Makes this statement only include rows that match the [filter].

View File

@ -164,6 +164,7 @@ abstract class ParserBase {
/// Parses a [Tuple]. If [orSubQuery] is set (defaults to false), a [SubQuery]
/// (in brackets) will be accepted as well.
// ignore: unused_element
Expression _consumeTuple({bool orSubQuery = false});
/// Parses a [BaseSelectStatement], which is either a [SelectStatement] or a

View File

@ -14,4 +14,4 @@ RUN echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' |
RUN apt-get update && apt-get install -y --no-install-recommends -q libsqlite3-dev dart
# We ocassionally have to change this file to manually trigger rebuilds in the CI. Particularly, after a new Dart SDK
# version is out. Prefer to use Dart 2.9 or above.
# version is out. Prefer to use Dart 2.10 or above.