Skip to main content
Module

x/darango/edge.ts>EdgeCollection

An ArangoDB driver for Deno.
Latest
class EdgeCollection
import { EdgeCollection } from "https://deno.land/x/darango@0.1.6/edge.ts";

Edge Collection class.

A collection of edges used to add relations between vertices.

Constructors

new
EdgeCollection(ax: axiod, name: string)

Methods

private
_internal(vertex: string, direction?: "in" | "out"): Promise<Edge<T, F>[]>

Internal method for getting edge documents from this collection.

any(vertex: string): Promise<Edge<T, F>[]>

Get Edge documents for both directions in relation to the vertex.

in(vertex: string): Promise<Edge<T, F>[]>

Get Edge documents coming IN to this vertex.

out(vertex: string): Promise<Edge<T, F>[]>

Get Edge documents going OUT from this vertex.