Beispiel #1
0
 public static GremlinQuery <T> V <T>(this GremlinQuery <T> baseQuery, string id)
 {
     CodeGenerator.TypeLabels.TryGetValue(typeof(T), out var label);
     return(new GremlinQuery <T>(
                new GremlinQuery <T>(baseQuery, $"g.V({baseQuery.ComposeParameter(id)})").HasLabel(label)));
 }
Beispiel #2
0
 public static GremlinQuery <T> V <T>(this GremlinQuery <T> baseQuery, (string, string) idAndPartitionKey)
Beispiel #3
0
 public static GremlinQuery <T> V <T>(this GremlinQuery <T> baseQuery)
 {
     CodeGenerator.TypeLabels.TryGetValue(typeof(T), out var label);
     return(new GremlinQuery <T>(new GremlinQuery <T>(baseQuery, "g.V()").HasLabel(label)));
 }