@ -882,6 +882,10 @@ namespace SqlSugar
{
return $"to_char({value},'{formatString}') ";
}
else if (IsSqlite() && formatString == "yyyy-MM-dd")
return $"strftime('%Y-%m-%d', {value})";
else if (IsMySql() && formatString == "yyyy-MM-dd")
return $"DATE_FORMAT({value}, '%Y-%m-%d')";