Spec-Zone.ru › RethinkDB ruby

ReQL command: skip

Command syntax

sequence.skip(n) → stream
array.skip(n) → array

Description

Skip a number of elements from the head of the sequence.

Example: Here in conjunction with order_by we choose to ignore the most successful heroes.

r.table('marvel').order_by(:success_metric).skip(10).run(conn)

Related commands

  • order_by
  • limit
  • []

© RethinkDB contributors
Licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
https://rethinkdb.com/api/ruby/skip/

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API