save
This commit is contained in:
@ -19,6 +19,7 @@ type Api2SqlParam struct {
|
||||
SplitField string `json:"split_field"` // 分表字段, 仅分表时有效, 分表字段要求在 ValueList 必须存在
|
||||
SplitStrategy string `json:"split_strategy"` // 分表策略, 仅分表时有效, 支持注册自动以策略
|
||||
SqlType string `json:"sql_type"` // sql语句类型 : detail - 查询详情 list - 查询列表 count - 查询数量 update - 更新 insert - 插入 delete - 删除
|
||||
FieldList []string `json:"field_list"` // 仅针对 select / detail 有效, 查询的字段列表
|
||||
OrderField string `json:"order_field"` // 排序字段, 仅 sqlType = list 生效
|
||||
OrderRule string `json:"order_rule"` // 排序规则, Asc / Desc
|
||||
WithCount bool `json:"with_count"` // 是否返回数据总量, 仅 sqlType = list 生效
|
||||
|
Reference in New Issue
Block a user