We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
public function resetWith() { $this->with = []; if($this->joinWith){ foreach($this->joinWith AS &$join){ $join[1] = false; } unset($join); } return $this; }
Также метод, позволяющий просмотреть весь запрос, который будет выполнен:
public function getRawSql() { $builder = Yii::$app->db->queryBuilder; $query = clone $this; $query->resetWith(); return $query->prepare($builder)->createCommand()->rawSql; }
Main point is to clean up eager loading or else there will be the same errors about keys.
Can we add these methods to the new version?
The text was updated successfully, but these errors were encountered:
@pentiumd2015 translated. Please try using English next time. While Russian is my native language, many people in community can not read it.
As for the feature, it will be considered for Yii 3 if we'll decide to continue developing our own database abstraction layer.
Sorry, something went wrong.
No branches or pull requests
Также метод, позволяющий просмотреть весь запрос, который будет выполнен:
Main point is to clean up eager loading or else there will be the same errors about keys.
Can we add these methods to the new version?
The text was updated successfully, but these errors were encountered: