You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
不应该限制combine内的key只能作为条件。
1.(原有的方式)根据条件combine拼接数据体生成筛选条件,修数据:update Table set b='2' where a='2'
{"Table":{"a":"2","b":"2","@combine":"a"}}
2.(扩展)根据条件combine+数据生成筛选条件,修数据:update Table set a='2',b='2' where a='111'
{"Table":{"a":"2","b":"2","@combine":"a:a=111"}}
可使用table:{"a":"1","@combine":"a:a=3331"}的方式对a=3331的数据修改为a=1。同时兼容旧的combine格式
Expected Behavior/期望结果
update方法应该兼容通过条件参数修改指定内容例如:update table a='1' where a='2',不应该限制combine内的key只能作为条件。
Any additional comments?/其它补充说明?
No response
The text was updated successfully, but these errors were encountered:
APIJSON Version/APIJSON 版本号
6.4.0
Database Type & Version/数据库类型及版本号
达梦8
Environment/环境信息
APIAuto Screenshots/APIAuto 请求与结果完整截屏
已提PR
Current Behavior/问题描述
Expected Behavior/期望结果
Any additional comments?/其它补充说明?
No response
The text was updated successfully, but these errors were encountered: