Update in and out predicates to use unique iterator.

This commit is contained in:
Allon Hadaya 2015-04-26 17:36:20 -04:00
parent f775756ad1
commit 35a96a3a81
2 changed files with 9 additions and 1 deletions

View file

@ -251,6 +251,13 @@ var testQueries = []struct {
expect: []string{"bob", "greg"},
},
{
message: "list all bob's incoming predicates",
query: `
g.V("bob").InPredicates().All()
`,
expect: []string{"follows"},
},
{
message: "list all in predicates",
query: `
g.V().InPredicates().All()