diff --git a/src/QueryBuilder/LinkQuery/Building/LinkQuery_Step3.php b/src/QueryBuilder/LinkQuery/Building/LinkQuery_Step3.php index a04a847..5779d2d 100644 --- a/src/QueryBuilder/LinkQuery/Building/LinkQuery_Step3.php +++ b/src/QueryBuilder/LinkQuery/Building/LinkQuery_Step3.php @@ -23,4 +23,9 @@ class LinkQuery_Step3 self::ValidateDeegraphPath(target: $asPropertyName); return new LinkQuery_Step4($this->QuerySoFar . " AS " . $asPropertyName); } + + public function Build(): LinkQuery + { + return new LinkQuery($this->QuerySoFar); + } }