Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Graph

TODO

Hierarchy

  • Graph

Index

Accessors

name

  • get name(): string
  • TODO

    Returns string

Methods

addEdgeDefinition

addVertexCollection

create

drop

  • drop(dropCollections?: boolean): Promise<boolean>
  • TODO

    Parameters

    • Default value dropCollections: boolean = false

    Returns Promise<boolean>

edgeCollection

  • TODO

    Type parameters

    • T: object

    Parameters

    • collectionName: string

    Returns GraphEdgeCollection<T>

edgeCollections

exists

  • exists(): Promise<boolean>
  • TODO

    Returns Promise<boolean>

get

listEdgeCollections

  • listEdgeCollections(): Promise<string[]>
  • TODO

    Returns Promise<string[]>

listVertexCollections

  • listVertexCollections(): Promise<string[]>
  • TODO

    Returns Promise<string[]>

removeEdgeDefinition

  • removeEdgeDefinition(edgeCollection: string, dropCollection?: boolean): Promise<GraphInfo>
  • TODO

    Parameters

    • edgeCollection: string
    • Default value dropCollection: boolean = false

    Returns Promise<GraphInfo>

removeVertexCollection

  • TODO

    Parameters

    • collection: string | ArangoCollection
    • Default value dropCollection: boolean = false

    Returns Promise<GraphInfo>

replaceEdgeDefinition

traversal

  • TODO

    deprecated

    Simple Queries have been deprecated in ArangoDB 3.4 and can be replaced with AQL queries.

    Parameters

    Returns Promise<any>

vertexCollection

vertexCollections

Generated using TypeDoc