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
Hello, i have problem when deleting data using where + limit. Even using limit is not working. The command didn't use the limit parameter.
BalanceModel::where('time', '<=', 1670707849677)->take(1)->delete();
Delete BalanceModel where time < xxxx limit 1
When i run that command, it delete using time parameter and delete document without limiting the delete command
The Current Operation Image Status
The text was updated successfully, but these errors were encountered:
You can look at the proposed fix: #2591
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
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
The Current Operation Image Status
The text was updated successfully, but these errors were encountered: