Joins
In Clear, since every Collection is a SelectBuilder object, you can write very complex queries in a simple fashion. Let's see this example:
Joins
Joins are built using inner_join
, left_join
, right_join
, cross_join
or simply join
method. An optional block is requested for condition:
Additionally, optional parameter lateral
can be set to true to create a LATERAL JOIN.
Last updated