Skip to content

Feature request: detached delete for node #3447

@liveforeverx

Description

@liveforeverx

What you wanted to do

Possibility without query all related ids/delete this ids to delete nodes without leaving edges, which points to nowhere.

What you actually did

As many people, delete node and forgot to delete edges, this will memory(edge) leak by leaving edges, which shouldn't exists still existing (may be dgraph should have background workers, which do cleanup of non existing references or support DETACH_DELETE ?).

I couldn't find any documentation, so I assumed that it willn't leave non existing data in database.

Any external references to support your case

DETACH_DELETE is supported in neo4j: https://www.quackit.com/neo4j/tutorial/neo4j_delete_a_relationship_using_cypher.cfm

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething is broken.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions