Method: Contentstack::Query#skip

Defined in:
lib/contentstack/query.rb

#skip(count) ⇒ Contentstack::Query

The number of objects to skip before returning any.

Example

@query = @stack.content_type('category').query
@query.skip(50)

Parameters:

  • count (Number)

    of objects to skip from resulset.

Returns:



284
285
286
287
# File 'lib/contentstack/query.rb', line 284

def skip(count)
  @query[:skip] = count
  self
end