between
Given some object, return true or false, for values that are between the specified integers.
Synopsis
between(integer\_value, integer\_value)
Description
The between()
predicate answers the question: Is the incoming number greater than or equal to the first provided number and less than the second?
Examples
Find all books published between of 1960 and 1969 (1960-1968):
g.V().hasLabel('book').has('publishYear', bwtween(1960,1969)).values('name', 'publishYear')