Skip to content

Conversation

harloprillar
Copy link

Need to reload parent queryScalar() method in case it refer on yii/db/Query object in last return statement instead of static instance. It leads to errors in createCommand next call because you also reload build() method in your QueryBuilder class that has own specific method calls like buildSample(), buildPreWhere(), buildWithTotals().

Need to reload parent queryScalar() method in case it refer on yii/db/Query object in last return statement instead of static instance.  It leads to errors in createCommand next call because you also reload build() method in your QueryBuilder class that has own specific method calls like buildSample(), buildPreWhere(), buildWithTotals().
@sanchezzzhak
Copy link
Owner

Hey, you have an example code with an error?
I want to check test

@theonedemon
Copy link

up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants