docs/api/java/transformations/skip.md at master · rethinkdb/docs

Skip to content

Navigation Menu

Sign in

Appearance settings

Latest commit

File metadata and controls

28 lines (22 loc) · 553 Bytes

layout api-command
language Java
permalink api/java/skip/
command skip
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);