|
@ -3,6 +3,7 @@ |
|
|
namespace Darksparrow\DeegraphInteractions\QueryInstance; |
|
|
namespace Darksparrow\DeegraphInteractions\QueryInstance; |
|
|
|
|
|
|
|
|
use Darksparrow\DeegraphInteractions\Core\DeegraphServer; |
|
|
use Darksparrow\DeegraphInteractions\Core\DeegraphServer; |
|
|
|
|
|
use Darksparrow\DeegraphInteractions\Interfaces\QueryInstanceInterface; |
|
|
use Darksparrow\DeegraphInteractions\QueryResponse\InsertQueryResponse; |
|
|
use Darksparrow\DeegraphInteractions\QueryResponse\InsertQueryResponse; |
|
|
use Darksparrow\DeegraphInteractions\Superclasses\QueryInstanceSuperclass; |
|
|
use Darksparrow\DeegraphInteractions\Superclasses\QueryInstanceSuperclass; |
|
|
|
|
|
|
|
@ -15,6 +16,6 @@ final class InsertQuery extends QueryInstanceSuperclass implements QueryInstance |
|
|
method: "POST", |
|
|
method: "POST", |
|
|
body: $this->QueryString, |
|
|
body: $this->QueryString, |
|
|
); |
|
|
); |
|
|
return InsertQueryResponse::FromAPIResponse(response: $response); |
|
|
return new InsertQueryResponse(response: $response); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|