Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting quad does not work as expected #617

Closed
sofiashalotenko opened this issue Jul 24, 2017 · 0 comments
Closed

Deleting quad does not work as expected #617

sofiashalotenko opened this issue Jul 24, 2017 · 0 comments
Assignees
Milestone

Comments

@sofiashalotenko
Copy link

Description

Say you create a quad "a,b,c,d". As expected g.V().All() gives {"result":[{"id":"a"},{"id":"b"},{"id":"c"},{"id":"d"}]} and g.V().Out().All() gives {"result":[{"id":"c"}]}.

BUT when you delete quad "a,b,c,d", g.V().Out().All() gives null (as expected) but g.V().All() STILL gives {"result":[{"id":"a"},{"id":"b"},{"id":"c"},{"id":"d"}]}.

Steps to reproduce the issue:

  1. Using the backend of sql or leveldb, create a quad "a,b,c,d"
  2. Delete quad "a,b,c,d"
  3. Do query "g.V().All()"

Received results:

"result":[{"id":"a"},{"id":"b"},{"id":"c"},{"id":"d"}]}

Expected results:

{
 "result": null
}

Output of cayley version or commit hash:

Cayley v0.6.1

Environment details:

Backend database: (sql or leveldb)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants