Add LabelContext to the docs

This commit is contained in:
Barak Michener 2015-10-30 17:57:07 -04:00
parent 58a735f329
commit fab678e456
2 changed files with 39 additions and 3 deletions

View file

@ -285,6 +285,13 @@ var testQueries = []struct {
`,
expect: []string{"smart_person"},
},
{
message: "open and close a LabelContext",
query: `
g.V().LabelContext("smart_graph").In("status").LabelContext(null).In("follows").All()
`,
expect: []string{"dani", "fred"},
},
}
func runQueryGetTag(g []quad.Quad, query string, tag string) []string {