join() public method
Appends a JOIN part to the query. The first parameter specifies what type of join it is.
public $this join ( $type, $table, $on = '', $params = [] )$type string
The type of join, such as INNER JOIN, LEFT JOIN. $table
string|array
The table to be joined. Use a string to represent the name of the table to be joined. The table name can contain a schema prefix (e.g. 'public.user') and/or table alias (e.g. 'user u'). The method will automatically quote the table name