APIJSON icon indicating copy to clipboard operation
APIJSON copied to clipboard

支持联合主键吗

Open ningpp opened this issue 4 years ago • 6 comments

ningpp avatar Oct 21 '21 09:10 ningpp

支持,JOIN、子查询 可能有问题,其它功能都可用 https://github.com/Tencent/APIJSON/blob/master/Document.md#3.2

TommyLemon avatar Oct 23 '21 16:10 TommyLemon

有例子吗? 关联查询时怎么配置

ningpp avatar Oct 24 '21 05:10 ningpp

一个引用赋值键值对改成多个引用赋值键值对 http://apijson.cn/api?send=true&type=JSON&url=http%3A%2F%2Fapijson.cn%3A8080%2Fget&json={%22[]%22:{%22Comment%22:{%22toId%3E%22:0},%22Comment:to%22:{%22id@%22:%22%2FComment%2FtoId%22,%22userId@%22:%22%2FComment%2FuserId%22}},%22@explain%22:true}

TommyLemon avatar Oct 25 '21 06:10 TommyLemon

能给个修改数据的例子吗?

aldag avatar Mar 31 '23 07:03 aldag

@ningpp 5.0.0+ 版 JOIN 也支持多个引用赋值键值对了

增强各种功能;腾讯负责人公开称赞;登记万科发起的采筑电商 https://github.com/Tencent/APIJSON/releases/tag/5.0.0

TommyLemon avatar Aug 07 '23 08:08 TommyLemon

能给个修改数据的例子吗? @aldag PUT 修改需要 @combine 把普通的 key: value 指定为键值对,否则除了 id, userId, id{}, userId{} 外都将当成 SET key=value 被修改的字段与取值

TommyLemon avatar Aug 07 '23 08:08 TommyLemon