summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2016-07-29 13:54:19 (GMT)
committerAlex Pott2016-07-29 13:54:19 (GMT)
commitdb9e719141e5f9c7a41b76cfc871dea0f1a146f0 (patch)
treec2dc2c04f6c9e3878a7eab4e697fa3fda813eb83
parent81e51d9f27abf58da5be431b0a4590342aa1880c (diff)
Issue #2011500 by daffie, Pancho: Deprecate RIGHT JOINs, because SQLite doesn't support them
-rw-r--r--core/lib/Drupal/Core/Database/Query/SelectInterface.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/lib/Drupal/Core/Database/Query/SelectInterface.php b/core/lib/Drupal/Core/Database/Query/SelectInterface.php
index 248c4aa..aa358d3 100644
--- a/core/lib/Drupal/Core/Database/Query/SelectInterface.php
+++ b/core/lib/Drupal/Core/Database/Query/SelectInterface.php
@@ -340,6 +340,12 @@ interface SelectInterface extends ConditionInterface, AlterableInterface, Extend
* An array of arguments to replace into the $condition of this join.
* @return
* 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());