public static GremlinQuery Tail(this GremlinQuery queryBase, GraphScope scope, int last)
 {
     return(new ComposedGremlinQuery(queryBase, $"tail({scope.ToString().ToLower()},{last})"));
 }
Beispiel #2
0
 public static GremlinQuery Limit(this GremlinQuery queryBase, GraphScope scope, int items)
 {
     return(new ComposedGremlinQuery(queryBase, $".limit({scope.ToString().ToLower()},{items})"));
 }
 public static GremlinQuery Skip(this GremlinQuery queryBase, GraphScope scope, int itemsToSkip)
 {
     return(new ComposedGremlinQuery(queryBase, $".skip({scope.ToString().ToLower()},{itemsToSkip})"));
 }
Beispiel #4
0
 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, GraphScope scope, int itemsToSkip, int itemsToInclude)
 {
     return(new ComposedGremlinQuery(queryBase, $".range({scope.ToString().ToLower()},{itemsToSkip},{itemsToInclude})"));
 }