Commit 1240a176 authored by catch's avatar catch
Browse files

Issue #2833292 by pwolanin, AbhishekLal, alexpott: Inaccurate doxygen for...

Issue #2833292 by pwolanin, AbhishekLal, alexpott: Inaccurate doxygen for \Drupal\Core\Database\Query\ConditionInterface::condition
parent a92f817f
......@@ -49,7 +49,9 @@ interface ConditionInterface {
* operator, this will be a scalar or an array. As SQL accepts select
* queries on any place where a scalar value or set is expected, $value may
* also be a(n array of) SelectInterface(s). If $operator is a unary
* operator, e.g. EXISTS, $value will be ignored and should be null.
* operator, e.g. IS NULL, $value will be ignored and should be null. If
* the operator requires a subquery, e.g. EXISTS, the $field will be ignored
* and $value should be a SelectInterface object.
* @param string|null $operator
* The operator to use. Supported for all supported databases are at least:
* - The comparison operators =, <>, <, <=, >, >=.
......@@ -59,6 +61,9 @@ interface ConditionInterface {
* @return \Drupal\Core\Database\Query\ConditionInterface
* The called object.
*
* @throws \Drupal\Core\Database\InvalidQueryException
* If passed invalid arguments, such as an empty array as $value.
*
* @see \Drupal\Core\Database\Query\ConditionInterface::isNull()
* @see \Drupal\Core\Database\Query\ConditionInterface::isNotNull()
* @see \Drupal\Core\Database\Query\ConditionInterface::exists()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment