function JoinPluginInterface::buildJoin

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/join/JoinPluginInterface.php \Drupal\views\Plugin\views\join\JoinPluginInterface::buildJoin()
  2. 10 core/modules/views/src/Plugin/views/join/JoinPluginInterface.php \Drupal\views\Plugin\views\join\JoinPluginInterface::buildJoin()
  3. 11.x core/modules/views/src/Plugin/views/join/JoinPluginInterface.php \Drupal\views\Plugin\views\join\JoinPluginInterface::buildJoin()

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.

\Drupal\views\Plugin\views\query\QueryPluginBase $view_query: The source views query.

1 method overrides JoinPluginInterface::buildJoin()
JoinPluginBase::buildJoin in core/modules/views/src/Plugin/views/join/JoinPluginBase.php
Builds the SQL for the join this object represents.

File

core/modules/views/src/Plugin/views/join/JoinPluginInterface.php, line 24

Class

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

Namespace

Drupal\views\Plugin\views\join

Code

public function buildJoin($select_query, $table, $view_query);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.