Bartosz Dziewoński has uploaded a new change for review.
https://gerrit.wikimedia.org/r/92301
Change subject: Update documentation for $join_conds in DatabaseBase::select()
......................................................................
Update documentation for $join_conds in DatabaseBase::select()
Bug: 56238
Change-Id: I3f4205f1a0c0dd04f45828161eddac6deedb1717
---
M includes/db/Database.php
1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/01/92301/1
diff --git a/includes/db/Database.php b/includes/db/Database.php
index 42f8482..1c47bf0 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -1472,9 +1472,9 @@
* in $conds. However, it is useful for doing a LEFT JOIN.
*
* The key of the array contains the table name or alias. The value is
an
- * array with two elements, numbered 0 and 1. The first gives the type
of
- * join, the second is an SQL fragment giving the join condition for
that
- * table. For example:
+ * array of two or more elements: the first one gives the type of the
join
+ * and the subsequent ones are SQL fragments providing the join
conditions
+ * for that table. For example:
*
* array( 'page' => array( 'LEFT JOIN', 'page_latest=rev_id' ) )
*
--
To view, visit https://gerrit.wikimedia.org/r/92301
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3f4205f1a0c0dd04f45828161eddac6deedb1717
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Bartosz Dziewoński <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits