update


Description:

[ Version ( since = "3.5" ) ]
public bool update (Cancellable? cancellable = null) throws Error

Executes the `INSERT`/`DELETE` SPARQL query series with the currently bound values.

This function should only be called on `TrackerSparqlStatement` objects obtained through [method@SparqlConnection.update_statement] or `INSERT`/`DELETE` statements loaded through [method@SparqlConnection.load_statement_from_gresource]. An error will be raised if this method is called on `SELECT`/`ASK`/`DESCRIBE`/`CONSTRUCT` SPARQL queries.

Parameters:

this

a `TrackerSparqlStatement`

cancellable

Optional [type@Gio.Cancellable]

Returns:

true if the update finished with no errors, false otherwise