Method: Fauna::Query#join
- Defined in:
- lib/fauna/query.rb
#join(source, target_expr = nil, &target_block) ⇒ Object
A join expression
Only one of target_expr or target_block should be provided. For example: Fauna.query { join(source) { |x| match some_index, x } }.
Reference: FaunaDB Sets
457 458 459 |
# File 'lib/fauna/query.rb', line 457 def join(source, target_expr = nil, &target_block) Expr.new join: Expr.wrap(source), with: Expr.wrap(target_expr || target_block) end |