Transaction class abstract

Transaction interface for graph database

Constructors

Transaction()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createEdge(Edge edge) → Future<Edge>
createVertex(Vertex vertex) → Future<Vertex>
deleteEdge(int edgeId) → Future<void>
deleteVertex(int vertexId) → Future<void>
edges({List<int>? ids, List<String>? labels, int? fromVertexId, int? toVertexId}) → Stream<Edge>
execute(String sql, [List? arguments]) → Future<void>
getEdge(int edgeId) → Future<Edge?>
getEdgesFromVertex(int vertexId) → Future<List<Edge>>
getEdgesToVertex(int vertexId) → Future<List<Edge>>
getEdgesWithLabel(String label) → Future<List<Edge>>
getVertex(int vertexId) → Future<Vertex?>
getVerticesWithLabel(String label) → Future<List<Vertex>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rawQuery(String sql, [List? arguments]) → Future<List<Map<String, dynamic>>>
toString() → String
A string representation of this object.
inherited
traversal() → TransactionalTraversalSource
Get traversal source for using traversal API within transaction
updateEdge(Edge edge) → Future<void>
updateVertex(Vertex vertex) → Future<void>
vertices({List<int>? ids, List<String>? labels}) → Stream<Vertex>

Operators

operator ==(Object other) → bool
The equality operator.
inherited