Share subValues with parent if any
This commit is contained in:
parent
44abb49dd8
commit
2533902e71
1 changed files with 3 additions and 0 deletions
|
@ -22,6 +22,9 @@ abstract class Query<T, Where extends QueryWhere> extends QueryBase<T> {
|
|||
|
||||
Query({this.parent});
|
||||
|
||||
Map<String, dynamic> get substitutionValues =>
|
||||
parent?.substitutionValues ?? super.substitutionValues;
|
||||
|
||||
/// A reference to an abstract query builder.
|
||||
///
|
||||
/// This is usually a generated class.
|
||||
|
|
Loading…
Reference in a new issue