Issue #1371256 by ayelet_Cr, oriol_e9g: Document that QueryConditionInterface::condition() should not be used to add NULL conditions.
parent
1e126deba8
commit
9a519b179f
|
@ -22,6 +22,9 @@ interface QueryConditionInterface {
|
||||||
* parameters, they are taken as $field and $value with $operator having a
|
* parameters, they are taken as $field and $value with $operator having a
|
||||||
* value of IN if $value is an array and = otherwise.
|
* value of IN if $value is an array and = otherwise.
|
||||||
*
|
*
|
||||||
|
* Do not use this method to test for NULL values. Instead, use
|
||||||
|
* QueryConditionInterface::isNull() or QueryConditionInterface::isNotNull().
|
||||||
|
*
|
||||||
* @param $field
|
* @param $field
|
||||||
* The name of the field to check. If you would like to add a more complex
|
* The name of the field to check. If you would like to add a more complex
|
||||||
* condition involving operators or functions, use where().
|
* condition involving operators or functions, use where().
|
||||||
|
@ -36,6 +39,9 @@ interface QueryConditionInterface {
|
||||||
*
|
*
|
||||||
* @return QueryConditionInterface
|
* @return QueryConditionInterface
|
||||||
* The called object.
|
* The called object.
|
||||||
|
*
|
||||||
|
* @see QueryConditionInterface::isNull()
|
||||||
|
* @see QueryConditionInterface::isNotNull()
|
||||||
*/
|
*/
|
||||||
public function condition($field, $value = NULL, $operator = NULL);
|
public function condition($field, $value = NULL, $operator = NULL);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue