- 调整 MySql 不支持 utc_timestamp 统一调速为 current_timestamp;#1604

This commit is contained in:
2881099
2023-09-06 15:14:47 +08:00
parent 11ebe7aaff
commit e0ac811ed1
6 changed files with 6 additions and 5 deletions

View File

@ -64,7 +64,7 @@ namespace FreeSql.Odbc.MySql
public override string Mod(string left, string right, Type leftType, Type rightType) => $"{left} % {right}";
public override string Div(string left, string right, Type leftType, Type rightType) => $"{left} div {right}";
public override string Now => "now()";
public override string NowUtc => "utc_timestamp()";
public override string NowUtc => "current_timestamp()";
public override string QuoteWriteParamterAdapter(Type type, string paramterName)
{