Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-2136

Inside lower bound inclusion (documentation)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3.5
    • 3.3.6, 3.4.1
    • process
    • None

    Description

      On http://tinkerpop.apache.org/docs/current/reference/#has-step there is an example:

      g.V().has('age',inside(20,30)).values('age') // 1
      

      with the comment:

      Find all vertices whose ages are between 20 (inclusive) and 30 (exclusive).
      

      But if I run this in the Gremlin Groovy shell I see:

      gremlin> g.V().has('age', inside(10, 30)).toString()
      ==>[GraphStep(vertex,[]), HasStep([age.and(gt(10), lt(30))])]
      

      which means the lower bound and upper bound are both exclusive. In particular, the lower bound is exclusive, not inclusive. Right?

      Attachments

        Activity

          People

            dkuppitz Daniel Kuppitz
            martijndwars Martijn Dwars
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: