summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries Buytaert2011-09-10 15:23:23 (GMT)
committerDries Buytaert2011-09-10 15:23:23 (GMT)
commit990ef700593f2d18d04115054f8ef48095ec31e8 (patch)
treedda3896b9f7922cdd1e9ef3792ed1ceb8be31690
parent1ce52d92fa19def95e89af856b7c29646dfba537 (diff)
- Patch #1273444 by Xano: Missing operator docs for EntityFieldQuery's propertyCondition() and addFieldCondition().
-rw-r--r--includes/entity.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/includes/entity.inc b/includes/entity.inc
index 31679fd..99baf49 100644
--- a/includes/entity.inc
+++ b/includes/entity.inc
@@ -613,6 +613,8 @@ class EntityFieldQuery {
* literals of the same type as the column.
* - 'BETWEEN': This operator expects $value to be an array of two literals
* of the same type as the column.
+ * The operator can be omitted, and will default to 'IN' if the value is an
+ * array, or to '=' otherwise.
*
* @return EntityFieldQuery
* The called object.
@@ -729,6 +731,8 @@ class EntityFieldQuery {
* literals of the same type as the column.
* - 'BETWEEN': This operator expects $value to be an array of two literals
* of the same type as the column.
+ * The operator can be omitted, and will default to 'IN' if the value is an
+ * array, or to '=' otherwise.
* @param $delta_group
* An arbitrary identifier: conditions in the same group must have the same
* $delta_group. For example, let's presume a multivalue field which has