Skip to content
Snippets Groups Projects
Commit db9e7191 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2011500 by daffie, Pancho: Deprecate RIGHT JOINs, because SQLite doesn't support them

parent 81e51d9f
No related branches found
No related tags found
No related merge requests found
...@@ -340,6 +340,12 @@ public function leftJoin($table, $alias = NULL, $condition = NULL, $arguments = ...@@ -340,6 +340,12 @@ public function leftJoin($table, $alias = NULL, $condition = NULL, $arguments =
* An array of arguments to replace into the $condition of this join. * An array of arguments to replace into the $condition of this join.
* @return * @return
* The unique alias that was assigned for this table. * The unique alias that was assigned for this table.
*
* @deprecated as of Drupal 8.1.x, will be removed in Drupal 9.0.0. Instead,
* change the query to use leftJoin(). For instance:
* db_query('A')->rightJoin('B') is identical to
* db_query('B')->leftJoin('A'). This functionality has been deprecated
* because SQLite does not support it.
*/ */
public function rightJoin($table, $alias = NULL, $condition = NULL, $arguments = array()); public function rightJoin($table, $alias = NULL, $condition = NULL, $arguments = array());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment