Skip to content

Edges are not deleted after Node is removed  #113

@qohelet

Description

@qohelet

In the documentation of python-arangod it's stated:

If a vertex is deleted, all connected edges are also automatically deleted.

So I'm not sure if "vertex" in this case refers to the vertex-collection or a single document. Any way, when removing a document with:
db = self.client.db(self.DB, username=self.user, password=self.password) if db.has_collection(col_name): col = db.collection(col_name) col.delete(id)

Only the document is removed but the edges remain.
Is this a bug or supposed to be? Also if I want to remove a node with all the edges is there a different command for that or is it supposed to be done with Graph traversals?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions