diff --git a/Providers/FreeSql.Provider.QuestDb/QuestDbGlobalExtensions.cs b/Providers/FreeSql.Provider.QuestDb/QuestDbGlobalExtensions.cs index c0bc81b7..cf4bcfc3 100644 --- a/Providers/FreeSql.Provider.QuestDb/QuestDbGlobalExtensions.cs +++ b/Providers/FreeSql.Provider.QuestDb/QuestDbGlobalExtensions.cs @@ -213,7 +213,6 @@ public static partial class QuestDbGlobalExtensions await client.PostAsync($"{RestAPIExtension.BaseUrl}/imp?name={name}", httpContent); var readAsStringAsync = await httpResponseMessage.Content.ReadAsStringAsync(); var splitByLine = SplitByLine(readAsStringAsync); - //Console.WriteLine(readAsStringAsync); foreach (var s in splitByLine) { if (s.Contains("Rows")) @@ -236,7 +235,10 @@ public static partial class QuestDbGlobalExtensions { File.Delete(filePath); } - catch { } + catch + { + // ignored + } } return result; @@ -246,7 +248,7 @@ public static partial class QuestDbGlobalExtensions /// 批量快速插入 /// /// - /// + /// /// public static int ExecuteBulkCopy(this IInsert insert) where T : class { @@ -340,7 +342,7 @@ static class RestAPIExtension var base64 = Convert.ToBase64String(Encoding.UTF8.GetBytes($"{username}:{password}")); authorization = $"Basic {base64}"; } - //RESTAPI需要无参数 + //RestApi需要无参数 buider.UseNoneCommandParameter(true); return buider; }