| layout | api-command | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| language | JavaScript | ||||||||
| permalink | api/javascript/skip/ | ||||||||
| command | skip | ||||||||
| io |
|
||||||||
| related_commands |
|
Command syntax
{% apibody %} sequence.skip(n) → stream array.skip(n) → array {% endapibody %}
Description
Skip a number of elements from the head of the sequence.
Example: Here in conjunction with orderBy we choose to ignore the most successful heroes.
r.table('marvel').orderBy('successMetric').skip(10).run(conn, callback)