mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 18:52:50 +08:00
修复clickhouse批量插入失败问题
修复使用clickhouse.client 7.2.2驱动进行批量插入时失败问题一=
This commit is contained in:
parent
23b81d73a0
commit
7f288abd62
@ -85,6 +85,7 @@ namespace FreeSql.ClickHouse.Curd
|
|||||||
BatchSize = _source.Count
|
BatchSize = _source.Count
|
||||||
})
|
})
|
||||||
{
|
{
|
||||||
|
await bulkCopyInterface.InitAsync();
|
||||||
await bulkCopyInterface.WriteToServerAsync(data, default);
|
await bulkCopyInterface.WriteToServerAsync(data, default);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user