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
$query = Log::find()->orderBy(['addedOn' => SORT_DESC]); $query->andWhere(['actionByType' => 1]); $countQuery = clone $query; $pages = new Pagination(['totalCount' => $countQuery->count()]); $models = $query->offset($pages->offset) ->limit($pages->limit) ->all();
MongoDB 3.6 Working fine $models as the values
MongoDB 4.0 But when I execute the same query which as same data in the collection, Here its not returning any value
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What steps will reproduce the problem?
What's expected?
MongoDB 3.6
Working fine $models as the values
What do you get instead?
MongoDB 4.0
But when I execute the same query which as same data in the collection, Here its not returning any value
Additional info
The text was updated successfully, but these errors were encountered: