Query Building #3

Closed
cerys wants to merge 3 commits from query-building into master
  1. 2
      composer.json
  2. 2
      src/Enumerators/DeegraphNumericalComparator.php
  3. 4
      src/QueryBuilder/QueryBuilders/SelectQuery.php

2
composer.json

@ -6,7 +6,7 @@
"authors": [
{
"name": "Cerys Lewis",
"email": "cerys@darksparrow.uk",
"email": "cerys.lewis@darksparrow.uk",
"homepage": "https://ceryslewis.dev",
"role": "Lead Developer"
}

2
src/Enumerators/DeegraphNumericalComparitor.php → src/Enumerators/DeegraphNumericalComparator.php

@ -2,7 +2,7 @@
namespace Darksparrow\DeegraphPHP\Enumerators;
enum DeegraphNumericalComparitor: string
enum DeegraphNumericalComparator: string
{
case LESS_THAN = "<";
case MORE_THAN = ">";

4
src/QueryBuilder/QueryBuilders/SelectQuery.php

@ -53,9 +53,9 @@ final class SelectQuery
$this->Where = "" . $target . " " . $operator->value . " " . $value;
return $this;
}
public function InstanceOf(string $target): SelectQuery
public function InstanceOf(string $schema): SelectQuery
{
$this->InstanceOf = "" . $target;
$this->InstanceOf = "" . $schema;
return $this;
}
}
Loading…
Cancel
Save