- 恢复 MySql ServerTime = Utc ;#1604 #1624

This commit is contained in:
2881099
2023-09-21 20:08:17 +08:00
parent be6f2fa9c2
commit 9e3b258ffd
5 changed files with 10 additions and 5 deletions

View File

@ -100,7 +100,7 @@ namespace FreeSql.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 => "current_timestamp()";
public override string NowUtc => "utc_timestamp()";
public override string QuoteWriteParamterAdapter(Type type, string paramterName)
{