Browse Source

Update quest db

pull/33/head
sunkaixuan 2 years ago
parent
commit
bce5b2e017
  1. 2
      Src/Asp.NetCore2/SqlSugar/Realization/QuestDB/SqlBuilder/QuestDBExpressionContext.cs

2
Src/Asp.NetCore2/SqlSugar/Realization/QuestDB/SqlBuilder/QuestDBExpressionContext.cs

@ -284,7 +284,7 @@ namespace SqlSugar
public override string ToDate(MethodCallExpressionModel model)
{
var parameter = model.Args[0];
return string.Format("CAST({0} AS DATE)", parameter.MemberName);
return string.Format("CAST({0} AS timestamp)", parameter.MemberName);
}
public override string DateAddByType(MethodCallExpressionModel model)
{

Loading…
Cancel
Save