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
$collection = $mongo->database('supsite')->collection('data_article'); $data = $collection->find(['siteid' => $siteid], ['skip'=>0,'limit'=>15]); var_dump(count($data));
collection 实际570条数据 limit = 1 时查出的数据正常 但limit 15 return 了全部数据 570
The text was updated successfully, but these errors were encountered:
看一下这个测试,是可以跑过的。https://github.com/hyperf/gotask/blob/f433a3774de9645c5f73fc7444140ea521e48255/tests/Cases/MongoDBTest.php#L91
Sorry, something went wrong.
mongodb 3.6+ case可以全部通过
3.2 部分通过
3.0 limit没通过
No branches or pull requests
collection 实际570条数据 limit = 1 时查出的数据正常 但limit 15 return 了全部数据 570
The text was updated successfully, but these errors were encountered: