Skip to content

GraphEdgeCollection.edge returns undefined #499

@Hunter21007

Description

@Hunter21007

If i try to get an edge by its _id

let edges: GraphEdgeCollection;
const tEd = await edges.edge(sr._id);

then the result is undefined

as in source

async edge(documentHandle: DocumentHandle) {

the function returns

return res.body.graph;

in debugger res.body contains an edge, but no graph

image

Do i something wrong?

arangojs version: 6.0.1
arangodb version 3.2.3
nodejs version: 8.9.4
vscode: 1.9.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA code defect that needs to be fixed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions