update_async


Description:

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

Executes asynchronously 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]

callback

user-defined [type@Gio.AsyncReadyCallback] to be called when the asynchronous operation is finished.

user_data

user-defined data to be passed to callback