ArangoGraph

io.funkode.arangodb.ArangoGraph
class ArangoGraph[Encoder[_], Decoder[_]](database: DatabaseName, graphName: GraphName)(using arangoClient: ArangoClient[Encoder, Decoder])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def addEdgeCollection(collection: CollectionName, from: List[CollectionName], to: List[CollectionName])(using Encoder[GraphEdgeDefinition], Decoder[ArangoResponse[Response]]): AIO[GraphInfo]
def create(edgeDefinitions: List[GraphEdgeDefinition], orphanCollections: List[String], waitForSync: Boolean)(using Encoder[GraphCreate], Decoder[Response]): AIO[GraphInfo]
def drop(dropCollections: Boolean)(using Decoder[ArangoResult[RemovedResult]]): AIO[Boolean]
def edge(collectionName: CollectionName): ArangoEdgeCollection[Encoder, Decoder]
def edgeInstance(handle: DocumentHandle): ArangoEdgeDocument[Encoder, Decoder]
def info(using Decoder[ArangoResult[Response]]): AIO[GraphInfo]
def removeEdgeCollection(collection: CollectionName, dropCollections: Boolean)(using Decoder[ArangoResponse[Response]]): AIO[GraphInfo]
def removeVertexCollection(collection: CollectionName, dropCollection: Boolean)(using Decoder[ArangoResponse[Response]]): AIO[GraphInfo]
def vertex(collectionName: CollectionName): ArangoVertexCollection[Encoder, Decoder]
def vertexDocument(handle: DocumentHandle): ArangoVertexDocument[Encoder, Decoder]