APIJSON icon indicating copy to clipboard operation
APIJSON copied to clipboard

【算术运算怎么实现】

Open CarsonYue opened this issue 1 year ago • 1 comments

Description

查询结果加减乘除怎么实现

CarsonYue avatar Oct 22 '24 09:10 CarsonYue

@column:"(id + userId / 123):ret", // 必须用小括号包裹表达式 @raw:"@column" // 指定 @column 的值内包含原始 SQL 片段,例如其中的表达式 id + userId / 123

image http://apijson.cn/api/?send=true&type=JSON&url=http%3A%2F%2Fapijson.cn%3A8080%2Fget&json={%22[]%22:{%22Comment%22:{%22@column%22:%22id%2CuserId%3B(id%20%2B%20userId%20%2F%20123)%3Aret%22,%22@raw%22:%22%40column%22,%22@explain%22:true}}}

TommyLemon avatar Oct 26 '24 12:10 TommyLemon