- 修复 QuestDB 表达式解析 DateTime.UtcNow bug;

This commit is contained in:
2881099
2023-06-27 18:51:14 +08:00
parent 4e6eff1cb4
commit 08e5776281
2 changed files with 3 additions and 3 deletions

View File

@ -356,7 +356,7 @@ namespace FreeSql.QuestDb
{
case "Now": return _common.Now;
case "UtcNow": return _common.NowUtc;
case "Today": return "current_date";
case "Today": return $"date_trunc('day',{_common.NowUtc})";
case "MinValue": return "'0001/1/1 0:00:00'::timestamp";
case "MaxValue": return "'9999/12/31 23:59:59'::timestamp";
}