APIJSON
APIJSON copied to clipboard
join关联查询时如何将主表和附表的字段,集合到一个对象里返回
环境信息
- 系统:
- JDK:
- 数据库:
- APIJSON:
问题描述
错误信息
@from + join https://github.com/Tencent/APIJSON/blob/master/Document.md#3.2

{
"[]": {
"Comment": {
"@from@": {
"from": "Comment",
"join": "</User/id@",
"Comment": {
"@column": "id:cid,userId,content"
},
"User": {
"id@": "/Comment/userId"
}
}
}
}
}