mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
QuestDb写入CSV文件更改为异步
This commit is contained in:
@ -197,7 +197,7 @@ public static partial class QuestDbGlobalExtensions
|
||||
using (var writer = new StreamWriter(filePath))
|
||||
using (var csv = new CsvWriter(writer, CultureInfo.CurrentCulture))
|
||||
{
|
||||
csv.WriteRecords(insert._source);
|
||||
await csv.WriteRecordsAsync(insert._source);
|
||||
}
|
||||
|
||||
var httpContent = new MultipartFormDataContent(boundary);
|
||||
|
Reference in New Issue
Block a user