Closed
Description
- Laravel Version: 9
- PHP Version: 8.0
- MongoDB Version: 3.9
Description:
Hello, i have problem when deleting data using where + limit. Even using limit is not working. The command didn't use the limit parameter.
Steps to reproduce
BalanceModel::where('time', '<=', 1670707849677)->take(1)->delete();
Expected behaviour
Delete BalanceModel where time < xxxx limit 1
Actual behaviour
When i run that command, it delete using time parameter and delete document without limiting the delete command
Metadata
Metadata
Assignees
Labels
No labels