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
drizzle-orm
0.30.10
drizzle-kit
0.21.2
Whenever I use such delete keyword, may it be built in js functions or a delete function from one of my own services
ex: teamService.delete() it detects the delete keyword and screams at for not using .where
teamService.delete()
.where
It should only complain about this in context of drizzle queries
No response
The text was updated successfully, but these errors were encountered:
👋 You can fix this with:
"drizzle/enforce-delete-with-where": [ "error", { drizzleObjectName: ["db", "tx"], }, ], "drizzle/enforce-update-with-where": [ "error", { drizzleObjectName: ["db", "tx"], }, ]
https://orm.drizzle.team/docs/eslint-plugin#enforce-delete-with-where
Sorry, something went wrong.
👋 You can fix this with: "drizzle/enforce-delete-with-where": [ "error", { drizzleObjectName: ["db", "tx"], }, ], "drizzle/enforce-update-with-where": [ "error", { drizzleObjectName: ["db", "tx"], }, ] https://orm.drizzle.team/docs/eslint-plugin#enforce-delete-with-where
Thanks a lot @rphlmr
No branches or pull requests
What version of
drizzle-orm
are you using?0.30.10
What version of
drizzle-kit
are you using?0.21.2
Describe the Bug
Whenever I use such delete keyword, may it be built in js functions or a delete function from one of my own services
ex:
teamService.delete()
it detects the delete keyword and screams at for not using.where
Expected behavior
It should only complain about this in context of drizzle queries
Environment & setup
No response
The text was updated successfully, but these errors were encountered: