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 combine,同一个key在筛选/数据体中可同时存在,两者非互斥逻辑 #699

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Apr 1, 2024

  1. 扩展PUT combine,同一个key在筛选/数据体中可同时存在,两者非互斥逻辑

    不限制combine内的key只能作为条件,可使用table:{"a":"1","@combine":"a:a=3331"}的方式对a=3331的数据修改为a=1。同时兼容旧的combine格式
    2种方式
    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"}}
    jettisonJava authored Apr 1, 2024
    Configuration menu
    Copy the full SHA
    3b153f8 View commit details
    Browse the repository at this point in the history