eq_join

ReQL command: eq_join

Command syntax

sequence.eq_join(left_field, right_table[, :index => 'id', :ordered => false]) → sequence
sequence.eq_join(function, right_table[, :index => 'id', :ordered => false]) → sequence

Description

Data Modeling Illustration

Join tables using a field or function on the left-hand sequence matching primary keys or secondary indexes on the right-hand table. eq_join is more efficient than other ReQL join types, and operates much faster. Documents in the result set consist of pairs of left-hand and right-hand documents, matched when the field on the left-hand side exists and is non-null and an entry with that field’s va