Open zhgqiang opened 10 months ago
columnTypes, _ = m.DB.Migrator().ColumnTypes(value) 查询数据的时候columnTypes为空数组,fieldColumnType.DatabaseTypeName()报空指针 如果分布式情况,多连接操作表,很容易发生错误
Your Question
columnTypes, _ = m.DB.Migrator().ColumnTypes(value) 查询数据的时候columnTypes为空数组,fieldColumnType.DatabaseTypeName()报空指针 如果分布式情况,多连接操作表,很容易发生错误
The document you expected this should be explained
Expected answer