mirror of https://github.com/AMT-Cheif/drift.git
Run CI with Dart 2.10
This commit is contained in:
parent
f295af1398
commit
fac99e1d6b
|
@ -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
|
||||
|
|
|
@ -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].
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue