interface JoinPluginInterface (View source)

Represents a join and creates the SQL necessary to implement the join.

Extensions of this class can be used to create more interesting joins.

Methods

buildJoin($select_query, $table, QueryPluginBase $view_query)

Builds the SQL for the join this object represents.

Details

buildJoin($select_query, $table, QueryPluginBase $view_query)

Builds the SQL for the join this object represents.

When possible, try to use table alias instead of table names.

Parameters

$select_query

A select query object.

$table

The base table to join.

QueryPluginBase $view_query

The source views query.