feat: 新增 ScanRows 接口
This commit is contained in:
5
types.go
5
types.go
@@ -15,8 +15,9 @@ type TableRowMateria struct {
|
||||
type StructMate struct {
|
||||
UniqueTypeName string // 结构体的唯一标识符
|
||||
|
||||
FieldIndexCache map[string][]int // 字段名到索引的映射缓存
|
||||
FiledDBNameCache map[string]string // 字段名到 db 注解的名称的映射缓存
|
||||
DBName2IndexCache map[string][]int // db 注解的名称到索引的映射缓存
|
||||
Field2IndexCache map[string][]int // 字段名到索引的映射缓存
|
||||
Filed2DBNameCache map[string]string // 字段名到 db 注解的名称的映射缓存
|
||||
|
||||
DBAnnotatedNames []string // 包含 db 注解的 属性的名称
|
||||
TaggedFieldNames []string // 包含的 tag 注解的 属性的名称
|
||||
|
||||
Reference in New Issue
Block a user