Skip to content

Undoing changes when loading nodes #1

Description

@Chique80

Loading a node undoes any unsaved changes on that node.
For exemple, let's say that there is a node with attribut "A" and "B" (both at 0) in the database. We execute the following code.

node1 = GraphManager.load(...)
node1.putProperty("A",1)

node2 = GraphManager.load(...)
node2.putProperty("B",1)

GraphManager.saveChanges()

After the execution, the attribut of "B" in the database is 1, but "A" is still at 0.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions