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
The .limit() and .orderBy() function should be available on delete queries.
.limit()
.orderBy()
await db.delete(tbl).where(eq(tbl.field, "some value")).orderBy(tbl.field).limit(10);
MySQL Reference
The text was updated successfully, but these errors were encountered:
Not being able to limit deletes is pretty scary from a defensive programming perspective.
Sorry, something went wrong.
bump! Would really like this since Planetscale limits deletes to 100k records at a time.
Bump! I would like to know that certain queries will only delete at max one item. This would also be a great addition to update as well!
update
Is there any update to this? I would also love to be able to limit updates. Was really surprised that this isn't possible?
No branches or pull requests
Describe want to want
The
.limit()
and.orderBy()
function should be available on delete queries.MySQL Reference
The text was updated successfully, but these errors were encountered: