Mark limit as unused in gremlin and SEXP
Used in SEXP. Currently there appears to be no way to limit the number of query returns from MQL.
This commit is contained in:
parent
8df21cd8d9
commit
ab685cfe04
2 changed files with 2 additions and 2 deletions
|
|
@ -134,7 +134,7 @@ func (s *Session) runUnsafe(input interface{}) (otto.Value, error) {
|
|||
return out, err
|
||||
}
|
||||
|
||||
func (s *Session) ExecInput(input string, out chan interface{}, limit int) {
|
||||
func (s *Session) ExecInput(input string, out chan interface{}, _ int) {
|
||||
defer close(out)
|
||||
s.err = nil
|
||||
s.wk.results = out
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ func (s *Session) InputParses(input string) (query.ParseResult, error) {
|
|||
return query.Parsed, nil
|
||||
}
|
||||
|
||||
func (s *Session) ExecInput(input string, c chan interface{}, limit int) {
|
||||
func (s *Session) ExecInput(input string, c chan interface{}, _ int) {
|
||||
defer close(c)
|
||||
var mqlQuery interface{}
|
||||
err := json.Unmarshal([]byte(input), &mqlQuery)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue