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
Description
The error occurs then trying to use ActiveQuer in a subquery.
Yiisoft\Db\Exception\NotSupportedException: Expression of classYiisoft\ActiveRecord\ActiveQuerycan not be built inYiisoft\Db\Pgsql\DQLQueryBuilderin\vendor\yiisoft\db\src\QueryBuilder\AbstractDQLQueryBuilder.php:483Package version
No response
PHP version
No response