tail
Get the last specified number of returned objects.
Synopsis
tail(integer\_value)
Description
The tail()
step is analogous to limit() step, except that it emits the last n
objects instead of the first n
objects.
Examples
Get the last 10 items that are ingredients:
g.V().hasLabel('ingredient').tail(10)