mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-23 16:50:55 +08:00
Merge pull request #2194 from xye1989/fix/clickhouse-column-error
fix: 修复 ClickHouse 读取到错误列导致插入失败问题
This commit is contained in:
@@ -188,7 +188,7 @@ namespace FreeSql.ClickHouse.Curd
|
||||
var columns = new string[_table.ColumnsByPosition.Length];
|
||||
for (var i = 0; i < columns.Length; i++)
|
||||
{
|
||||
columns[i] = _table.ColumnsByPosition[i].CsName;
|
||||
columns[i] = _table.ColumnsByPosition[i].Attribute.Name;
|
||||
}
|
||||
using (var conn = await _orm.Ado.MasterPool.GetAsync())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user