Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 650 Bytes

skip.md

File metadata and controls

33 lines (27 loc) · 650 Bytes
layout api-command
language JavaScript
permalink api/javascript/skip/
command skip
io
sequence
stream
array
array
related_commands
limit slice nth orderBy
limit/
slice/
nth/
order_by/

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)