mirror of
https://github.com/yiisoft/yii2.git
synced 2026-02-20 00:32:19 +01:00
Document that subqueries are also accepted as value in the hash format (#20708)
This commit is contained in:
committed by
GitHub
parent
a984b9ab39
commit
114d1c8c46
@@ -82,7 +82,7 @@ interface QueryInterface
|
||||
* - operator format: `[operator, operand1, operand2, ...]`
|
||||
*
|
||||
* A condition in hash format represents the following SQL expression in general:
|
||||
* `column1=value1 AND column2=value2 AND ...`. In case when a value is an array,
|
||||
* `column1=value1 AND column2=value2 AND ...`. In case when a value is an array or sub-query,
|
||||
* an `IN` expression will be generated. And if a value is `null`, `IS NULL` will be used
|
||||
* in the generated expression. Below are some examples:
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user