Share subValues with parent if any

This commit is contained in:
Tobe O 2019-10-09 10:55:29 -04:00
parent 44abb49dd8
commit 2533902e71

View file

@ -22,6 +22,9 @@ abstract class Query<T, Where extends QueryWhere> extends QueryBase<T> {
Query({this.parent}); Query({this.parent});
Map<String, dynamic> get substitutionValues =>
parent?.substitutionValues ?? super.substitutionValues;
/// A reference to an abstract query builder. /// A reference to an abstract query builder.
/// ///
/// This is usually a generated class. /// This is usually a generated class.