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