|
|
@@ -7,8 +7,8 @@ import (
|
|
7
|
7
|
// QueryRequest 查询请求
|
|
8
|
8
|
type QueryRequest struct {
|
|
9
|
9
|
SQL string `json:"sql" binding:"required"`
|
|
10
|
|
- Params map[string]interface{} `json:"params,omitempty"`
|
|
11
|
|
- PositionalParams []interface{} `json:"positionalParams,omitempty"` // 位置参
|
|
|
10
|
+ Params map[string]interface{} `json:"params,omitempty"` //名称参数
|
|
|
11
|
+ PositionalParams []interface{} `json:"positionalParams,omitempty"` // 位置参数
|
|
12
|
12
|
}
|
|
13
|
13
|
|
|
14
|
14
|
// QueryResult 查询结果
|