支持人工设置表结构配置
This commit is contained in:
@ -70,14 +70,3 @@ type SqlCondition struct {
|
||||
Operate string `json:"operate"` // 操作 : == / !== / in / not in / like / not like
|
||||
Value any `json:"value"` // 数据值
|
||||
}
|
||||
|
||||
// ColumnConfig ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 16:42 2024/8/23
|
||||
type ColumnConfig struct {
|
||||
Column string `json:"column"` // 字段名
|
||||
Alias string `json:"alias"` // 字段别名
|
||||
Type string `json:"type"` // 字段类型
|
||||
}
|
||||
|
@ -16,3 +16,14 @@ type CacheTableStructureConfig struct {
|
||||
Enable bool `json:"enable"` // 是否启用表结构缓存
|
||||
SyncTimeInterval int `json:"sync_time_interval"` // 开启的情况向, 多久同步一次表结构, 默认值 3600, 单位 : s
|
||||
}
|
||||
|
||||
// ColumnConfig ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 16:42 2024/8/23
|
||||
type ColumnConfig struct {
|
||||
Column string `json:"column"` // 字段名
|
||||
Alias string `json:"alias"` // 字段别名
|
||||
Type string `json:"type"` // 字段类型
|
||||
}
|
||||
|
Reference in New Issue
Block a user