createQuery() protected method
Creates a query instance with the given condition.
| protected yii\db\ActiveQueryInterface createQuery ( $targetClass, $condition ) | ||
|---|---|---|
| $targetClass | string |
The target AR class |
| $condition | mixed |
Query condition |
| return | yii\db\ActiveQueryInterface |
The query instance |
Please login to continue.