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

PUT, DELETE 请求将除id外的其他字段作为where条件如何使用 #752

Closed
gxmanito opened this issue Aug 8, 2024 · 1 comment
Closed

Comments

@gxmanito
Copy link

gxmanito commented Aug 8, 2024

Description

你好,作者,想咨询一下,apijson6.3.0版本,配置IS_UPDATE_MUST_HAVE_ID_CONDITION = false后,将其他条件作为修改或者删除的where条件,参数该如何写呢
https://github.com/Tencent/APIJSON/issues/509,查了一下这个需要引入apijson-router,不引入可以实现这个功能吗

@TommyLemon
Copy link
Collaborator

DELETE 所有键值对都是条件;PUT 有功能符的就是条件,没有功能符的需要 @combine 指定为条件
#277

为什么限制在GETS中使用@combine
#425

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

No branches or pull requests

2 participants