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

按照条件更新--apijson支持吗? #267

Open
healthybaobao opened this issue Jul 12, 2021 · 1 comment
Open

按照条件更新--apijson支持吗? #267

healthybaobao opened this issue Jul 12, 2021 · 1 comment
Labels

Comments

@healthybaobao
Copy link

apijson中的更新一直是通过id去匹配更新的,使用过程中有像update ..... where attr1 =“” and attr2 = “” 这样的 诉求,咨询一下apijson支持吗?

@TommyLemon
Copy link
Collaborator

TommyLemon commented Jul 13, 2021

必须带 id/id{} 至少一个,包括以上例子等其它条件可选配。
不支持不带 id/id{},单纯只有其它条件的删改,支持很容易,放开校验就行了,但目前还没找到能保证安全可控的方式。这种特殊需求你自己写个接口实现吧

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

No branches or pull requests

2 participants