You are here

public function EasyRdf_Sparql_Client::update in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Client.php \EasyRdf_Sparql_Client::update()

Make an update request to the SPARQL endpoint

Successful responses will return the HTTP response object

Unsuccessful responses will throw an exception

Parameters

string $query The update query string to be executed:

Return value

object EasyRdf_Http_Response HTTP response

3 calls to EasyRdf_Sparql_Client::update()
EasyRdf_Sparql_Client::clear in vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Client.php
EasyRdf_Sparql_Client::insert in vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Client.php
EasyRdf_Sparql_Client::updateData in vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Client.php

File

vendor/easyrdf/easyrdf/lib/EasyRdf/Sparql/Client.php, line 177

Class

EasyRdf_Sparql_Client
Class for making SPARQL queries using the SPARQL 1.1 Protocol

Code

public function update($query) {
  return $this
    ->request('update', $query);
}