-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
New issue
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
Count query with group in class extends \yii\db\Query #19789
Comments
What's your |
The configuration is not relevant. The problem is that |
I solved this some time ago by |
I think we should changed the mentioned call to static (instead of self). |
OK. @bizley do you have time for a pull request? I plan to release soon. |
Ech, right. Not sure what to do then. |
What steps will reproduce the problem?
What is the expected result?
Query to
myDb
What do you get instead?
Query to
db
Additional info
Problem this
If use
(new static())
, the query will be correctThe text was updated successfully, but these errors were encountered: