内部 SQL 格式优化

This commit is contained in:
28810
2020-07-18 13:50:26 +08:00
parent 8d11993e6c
commit 7471df5924
58 changed files with 1265 additions and 1249 deletions

View File

@ -53,7 +53,7 @@ namespace FreeSql.Odbc.MySql
.AsTable((_, __) => _tableRule?.Invoke(__)).AsType(_table.Type)
.DisableGlobalFilter()
.WhereDynamic(rowd)
.Limit(1).ToSql("1").Replace("\r\n", "\r\n\t")).Append(")"));
.Limit(1).ToSql("1").Replace(" \r\n", " \r\n ")).Append(")"));
}
}
if (string.IsNullOrEmpty(sql)) return null;