|
|
@@ -9,6 +9,7 @@ type QueryRequest struct {
|
|
9
|
9
|
SQL string `json:"sql" binding:"required"`
|
|
10
|
10
|
Params map[string]interface{} `json:"params,omitempty"` //名称参数
|
|
11
|
11
|
PositionalParams []interface{} `json:"positionalParams,omitempty"` // 位置参数
|
|
|
12
|
+ writerHeader bool //如果查询返回cvs格式时候,包含表头还是不包含。true包含。第一行是表头
|
|
12
|
13
|
}
|
|
13
|
14
|
|
|
14
|
15
|
// QueryResult 查询结果
|