sanchezzzhak / kak-clickhouse

Yii2 ext. ClickHouse
69 stars 43 forks source link

Getting unknown property: app\components\clickhouse\ActiveQuery::withQueries #59

Closed alekson closed 2 years ago

alekson commented 2 years ago

Error after last update

sanchezzzhak commented 2 years ago

as a stable solution, switch to the version in the composer

composer require kak/clickhouse 1.1.0 --ignore-platform-reqs

to use the new functionality, you need to upgrade Yii2 to 2.0.35 or last

    /**
     * @param array $withs of configurations for each WITH query
     * @param array $params the binding parameters to be populated
     * @return string compiled WITH prefix of query including nested queries
     * @see Query::withQuery()
     * @since 2.0.35
     */
    public function buildWithQueries($withs, &$params)