public interface DeleteQuery extends Query<Void>
A DeleteQuery is built from a MatchQuery and will perform a delete operation for every result of
the @{code MatchQuery}.
The delete operation to perform is based on what VarPattern objects are provided to it. If only variable names
are provided, then the delete query will delete the concept bound to each given variable name. If property flags
are provided, e.g. var("x").has("name") then only those properties are deleted.
| Modifier and Type | Method and Description |
|---|---|
DeleteQueryAdmin |
admin() |
DeleteQuery |
withGraph(GraknGraph graph) |
execute, isReadOnly, resultsStringDeleteQuery withGraph(GraknGraph graph)
@CheckReturnValue DeleteQueryAdmin admin()
Copyright © 2017 Grakn Labs Ltd. All rights reserved.