|
@ -5,6 +5,7 @@ namespace Darksparrow\DeegraphPHP\Core; |
|
|
use Darksparrow\DeegraphPHP\DataStructures\ServerInfo; |
|
|
use Darksparrow\DeegraphPHP\DataStructures\ServerInfo; |
|
|
use Darksparrow\DeegraphPHP\QueryBuilder\QueryBuilders\InsertQuery; |
|
|
use Darksparrow\DeegraphPHP\QueryBuilder\QueryBuilders\InsertQuery; |
|
|
use Darksparrow\DeegraphPHP\QueryBuilder\QueryBuilders\PutQuery; |
|
|
use Darksparrow\DeegraphPHP\QueryBuilder\QueryBuilders\PutQuery; |
|
|
|
|
|
use Darksparrow\DeegraphPHP\QueryBuilder\QueryBuilders\SelectQuery; |
|
|
|
|
|
|
|
|
class DeegraphServer |
|
|
class DeegraphServer |
|
|
{ |
|
|
{ |
|
@ -67,10 +68,10 @@ class DeegraphServer |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @param PutQuery|InsertQuery $query Takes in a Query Builder object. |
|
|
* @param InsertQuery|PutQuery|SelectQuery $query Takes in a Query Builder object. |
|
|
* @return void |
|
|
* @return void |
|
|
*/ |
|
|
*/ |
|
|
public function RunQuery(PutQuery|InsertQuery $query): void |
|
|
public function RunQuery(InsertQuery|PutQuery|SelectQuery $query): void |
|
|
{ |
|
|
{ |
|
|
echo $query; |
|
|
echo $query; |
|
|
echo "<br><br><br>"; |
|
|
echo "<br><br><br>"; |
|
|