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))); }
public static GremlinQuery <T> V <T>(this GremlinQuery <T> baseQuery, (string, string) idAndPartitionKey)
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))); }