module Rethinker::Selection::Limit

Public Instance Methods

[](sel) click to toggle source
# File lib/rethinker/selection/limit.rb, line 12
def [](sel)
  chain Rethinker::Criterion.new(:[], sel)
end
limit(value) click to toggle source

TODO Test these guys

# File lib/rethinker/selection/limit.rb, line 4
def limit(value)
  chain Rethinker::Criterion.new(:limit, value)
end
skip(value) click to toggle source
# File lib/rethinker/selection/limit.rb, line 8
def skip(value)
  chain Rethinker::Criterion.new(:skip, value)
end