Browse Source

"`QueryBuilder` base class" methods are now static

pull/1/head
Cerys Lewis 6 months ago
parent
commit
da167d130b
  1. 6
      src/QueryBuilder/QueryBuilder.php

6
src/QueryBuilder/QueryBuilder.php

@ -9,15 +9,15 @@ use Darksparrow\DeegraphPHP\QueryBuilder\QueryBuilders\SelectQuery;
class QueryBuilder class QueryBuilder
{ {
public function Insert(): InsertQuery public static function Insert(): InsertQuery
{ {
return new InsertQuery(); return new InsertQuery();
} }
public function Put(): PutQuery public static function Put(): PutQuery
{ {
return new PutQuery(); return new PutQuery();
} }
public function Select(): SelectQuery public static function Select(): SelectQuery
{ {
return new SelectQuery(); return new SelectQuery();
} }

Loading…
Cancel
Save