Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 605 Bytes

zip.md

File metadata and controls

29 lines (21 loc) · 605 Bytes
layout api-command
language Java
permalink api/java/zip/
command zip
related_commands
eqJoin innerJoin outerJoin
eq_join/
inner_join/
outer_join/

Command syntax

{% apibody %} stream.zip() → stream array.zip() → array {% endapibody %}

Description

Used to 'zip' up the result of a join by merging the 'right' fields into 'left' fields of each member of the sequence.

Example: 'zips up' the sequence by merging the left and right fields produced by a join.

r.table("marvel").eqJoin("main_dc_collaborator", r.table("dc")).zip().run(conn);