-
-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
Description
The error occurs then trying to use ActiveQuer in a subquery.
$q = Order::query()->select(new Expression('1'));
Item::query()->where(new Exists($q))->all();Yiisoft\Db\Exception\NotSupportedException: Expression of class Yiisoft\ActiveRecord\ActiveQuery can not be built in Yiisoft\Db\Pgsql\DQLQueryBuilder in \vendor\yiisoft\db\src\QueryBuilder\AbstractDQLQueryBuilder.php:483
Package version
No response
PHP version
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels