You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/ld/patch/algebra/patch.rb
+8-14Lines changed: 8 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -10,31 +10,25 @@ class Patch < SPARQL::Algebra::Operator
10
10
NAME=:patch
11
11
12
12
##
13
-
# Executes this upate on the given `writable` graph or repository.
13
+
# Executes this upate on the given `transactable` graph or repository.
14
14
#
15
-
# @param [RDF::Queryable] queryable
16
-
# the graph or repository to write
15
+
# @param [RDF::Transactable] graph
16
+
# the graph to update.
17
17
# @param [Hash{Symbol => Object}] options
18
18
# any additional options
19
-
# @return [RDF::Queryable]
20
-
# Returns queryable.
19
+
# @return [RDF::Transactable]
20
+
# Returns graph.
21
21
# @raise [Error]
22
22
# If any error is caught along the way, and rolls back the transaction
23
-
defexecute(queryable,options={})
23
+
defexecute(graph,options={})
24
24
debug(options){"Delete"}
25
25
26
-
# FIXME: due to insufficient transaction support, this is implemented by running through operands twice: the first using a clone of the graph, and the second acting on the graph directly
0 commit comments