mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update TDengine
This commit is contained in:
parent
5741e4c2e5
commit
21bc55aa9a
@ -42,7 +42,12 @@ namespace SqlSugar.TDengine
|
||||
{
|
||||
sb.Add($" SELECT '{item["table_name"].ObjToString().ToSqlFilter()}' AS NAME ");
|
||||
}
|
||||
return string.Join(" UNION ALL ", sb);
|
||||
var result= string.Join(" UNION ALL ", sb);
|
||||
if (string.IsNullOrEmpty(result))
|
||||
{
|
||||
result = " SELECT 'NoTables' AS Name ";
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user