|
|
@ -2,6 +2,7 @@ |
|
|
|
|
|
|
|
namespace Darksparrow\DeegraphInteractions\QueryBuilder; |
|
|
|
|
|
|
|
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\DeleteQueryBuilder; |
|
|
|
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\GrantQueryBuilder; |
|
|
|
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\InsertQueryBuilder; |
|
|
|
use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\PutQueryBuilder; |
|
|
@ -9,23 +10,9 @@ use Darksparrow\DeegraphInteractions\QueryBuilder\QueryBuilders\SelectQueryBuild |
|
|
|
|
|
|
|
final class QueryBuilder |
|
|
|
{ |
|
|
|
public static function Grant(): GrantQueryBuilder |
|
|
|
{ |
|
|
|
return new GrantQueryBuilder(); |
|
|
|
} |
|
|
|
|
|
|
|
public static function Insert(): InsertQueryBuilder |
|
|
|
{ |
|
|
|
return new InsertQueryBuilder(); |
|
|
|
} |
|
|
|
|
|
|
|
public static function Put(): PutQueryBuilder |
|
|
|
{ |
|
|
|
return new PutQueryBuilder(); |
|
|
|
} |
|
|
|
|
|
|
|
public static function Select(): SelectQueryBuilder |
|
|
|
{ |
|
|
|
return new SelectQueryBuilder(); |
|
|
|
} |
|
|
|
public static function Delete(): DeleteQueryBuilder { return new DeleteQueryBuilder(); } |
|
|
|
public static function Grant(): GrantQueryBuilder { return new GrantQueryBuilder(); } |
|
|
|
public static function Insert(): InsertQueryBuilder { return new InsertQueryBuilder(); } |
|
|
|
public static function Put(): PutQueryBuilder { return new PutQueryBuilder(); } |
|
|
|
public static function Select(): SelectQueryBuilder { return new SelectQueryBuilder(); } |
|
|
|
} |
|
|
|