public GremlinQuery V(string id, string partitionKey) { var q = new GremlinQuery(_connector, ""); q._query = $"g.V([{q.ComposeParameter(id)},{q.ComposeParameter(partitionKey)}])"; return(q); }
public GremlinQuery V(string id) { var q = new GremlinQuery(_connector, ""); q._query = $"g.V({q.ComposeParameter(id)})"; return(q); }
public static GremlinQuery E(this GremlinQuery queryBase, string edgeLabel) { return(new ComposedGremlinQuery(queryBase, $"E({queryBase.ComposeParameter(edgeLabel)})")); }
public static GremlinQuery SubGraph(this GremlinQuery queryBase, string graphLabel) { return(new ComposedGremlinQuery(queryBase, $"subgraph({queryBase.ComposeParameter(graphLabel)})")); }
public static GremlinQuery Limit(this GremlinQuery queryBase, int items) { return(new ComposedGremlinQuery(queryBase, $".limit({queryBase.ComposeParameter(items)})")); }
public static GremlinQuery Range(this GremlinQuery queryBase, GraphScope scope, int lowEnd, int highEnd) { return(new ComposedGremlinQuery(queryBase, $".range({scope.ToString().ToLower()},{queryBase.ComposeParameter(lowEnd)},{queryBase.ComposeParameter(highEnd)})")); }
public static GremlinQuery Range(this GremlinQuery queryBase, int lowEnd, int highEnd) { return(new ComposedGremlinQuery(queryBase, $".range({queryBase.ComposeParameter(lowEnd)},{queryBase.ComposeParameter(highEnd)})")); }