mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-06-28 04:35:29 +08:00
Update sqlite group first object
This commit is contained in:
parent
2cff612818
commit
31166acae6
@ -24,6 +24,10 @@ namespace SqlSugar
|
||||
}
|
||||
public override string RemoveParentheses(string sql)
|
||||
{
|
||||
if (sql.StartsWith("(") && sql.EndsWith(")") && sql.ToLower().Contains("limit"))
|
||||
{
|
||||
sql = $" select * from {sql} sqlite_temp_table ";
|
||||
}
|
||||
if (sql.StartsWith("(") && sql.EndsWith(")"))
|
||||
{
|
||||
sql = sql.Substring(1, sql.Length - 2);
|
||||
|
Loading…
Reference in New Issue
Block a user