mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 04:18:16 +08:00
- 调整 MySql 不支持 utc_timestamp 统一调速为 current_timestamp;#1604
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user