MCPcopy
hub / github.com/cayleygraph/cayley / AddQuadSet

Method AddQuadSet

graph/quadwriter.go:146–146  ·  view source on GitHub ↗

TODO(barakmich): Deprecate in favor of transaction. AddQuadSet adds a set of quads to the store, atomically if possible.

([]quad.Quad)

Source from the content-addressed store, hash-verified

144 // TODO(barakmich): Deprecate in favor of transaction.
145 // AddQuadSet adds a set of quads to the store, atomically if possible.
146 AddQuadSet([]quad.Quad) error
147
148 // RemoveQuad removes a quad matching the given one from the database,
149 // if it exists. Does nothing otherwise.

Callers 11

ServeV1WriteMethod · 0.65
TestExecuteFunction · 0.65
WriteQuadsMethod · 0.65
testLoadDupFunction · 0.65
TestSizesFunction · 0.65
TestLoadTypedQuadsFunction · 0.65
TestAddRemoveFunction · 0.65
TestCompareTypedValuesFunction · 0.65
TestDeleteReinsertedFunction · 0.65
TestDeleteReinsertedDupFunction · 0.65
MakeWriterFunction · 0.65

Implementers 1

Singlewriter/single.go

Calls

no outgoing calls

Tested by 7

TestExecuteFunction · 0.52
TestSizesFunction · 0.52
TestLoadTypedQuadsFunction · 0.52
TestAddRemoveFunction · 0.52
TestCompareTypedValuesFunction · 0.52
TestDeleteReinsertedFunction · 0.52
TestDeleteReinsertedDupFunction · 0.52