PgSql BUG

This commit is contained in:
skx 2020-10-01 18:06:44 +08:00
parent bed8ba7a55
commit b2aebdaa21

View File

@ -31,7 +31,7 @@ namespace SqlSugar
#region Common Methods
public override bool IsComplexModel(string sql)
{
return Regex.IsMatch(sql, @"AS \w+\.\w+");
return Regex.IsMatch(sql, @"AS ""\w+\.\w+""");
}
public override string ToSqlString()
{