Skip to main content
Module

x/darango/mod.ts>Edge

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

Edge document class.

Allows getting the _to and _from documents directly from their respective collections.

Constructors

new
Edge(ax: axiod, _def: EdgeDef)

Properties

readonly
_from_collection: Collection<F>
readonly
_to_collection: Collection<T>

Methods

from(): Promise<Document<F>>

Get the document referenced in the _from field.

to(): Promise<Document<T>>

Get the document referenced in the _to field.