Models a DELETE statement in SPARQL. More...
Public Member Functions | |
Delete () | |
Constructs an empty DELETE statement. | |
Q_DECL_DEPRECATED CUBI_EXPLICIT | Delete (const ResourceValue &graph) |
Constructs an empty DELETE statement. |
Models a DELETE statement in SPARQL.
A Delete statement has two parts, the first one, called the "data" part, being the graph pattern that has to be deleted, and the second one, called the "restriction" part, being the pattern that must be matched for the actual deletion to happen. The first part can be manipulated using the UpdateBase::addData() functions, while the second part is manipulated using the UpdateBase::addRestriction() functions.
Most of the useful functions of this class are defined in UpdateBase, which is the common base to Delete and Insert (since they share a very similar structure).
Delete::Delete | ( | const ResourceValue & | graph | ) |
Constructs an empty DELETE statement.
An optional graph
can be set, if you want to generate a DELETE
FROM
... query.
DELETE
FROM
variant is deprecated. New code should create a Graph and add it using UpdateBase::addData().