|
@ -43,9 +43,19 @@ final class SelectQuery |
|
|
$this->RelativePaths = $relativePaths; |
|
|
$this->RelativePaths = $relativePaths; |
|
|
return $this; |
|
|
return $this; |
|
|
} |
|
|
} |
|
|
|
|
|
public function From(string $target): SelectQuery |
|
|
|
|
|
{ |
|
|
|
|
|
$this->From = "" . $target; |
|
|
|
|
|
return $this; |
|
|
|
|
|
} |
|
|
public function Where(string $target, DeegraphEqualityOperator $operator, string $value): SelectQuery |
|
|
public function Where(string $target, DeegraphEqualityOperator $operator, string $value): SelectQuery |
|
|
{ |
|
|
{ |
|
|
$this->Where = "" . $target . " " . $operator->value . " " . $value; |
|
|
$this->Where = "" . $target . " " . $operator->value . " " . $value; |
|
|
return $this; |
|
|
return $this; |
|
|
} |
|
|
} |
|
|
|
|
|
public function InstanceOf(string $target): SelectQuery |
|
|
|
|
|
{ |
|
|
|
|
|
$this->InstanceOf = "" . $target; |
|
|
|
|
|
return $this; |
|
|
|
|
|
} |
|
|
} |
|
|
} |