Skip to content
New issue

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

limit() is not working with delete() #6074

Open
kilobyte2007 opened this issue May 15, 2024 · 0 comments
Open

limit() is not working with delete() #6074

kilobyte2007 opened this issue May 15, 2024 · 0 comments

Comments

@kilobyte2007
Copy link

Environment

Knex version: 3.1.0
Database + version: MySQL 8.3.0
OS: Linux/MacOS

It seems like knex still doesn't support limit when using delete.

.where(...).limit(100).delete()

I see there's an older issue #96 about this which is closed as fixed but it still doesn't work.
One of the reasons stated in the original issue is the consistency across platforms. But from what I see in the docs - there's lots of things that are platform specific so I think it would make sense to implement this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant