mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
增加对clickhouse数据库数据类型SimpleAggregateFunction的转换处理
This commit is contained in:
parent
b0be692155
commit
41e25fb7d0
@ -460,6 +460,9 @@ namespace SqlSugar
|
||||
{
|
||||
if (Regex.IsMatch(dbTypeName, @"\(.+\)"))
|
||||
{
|
||||
if (Regex.IsMatch(dbTypeName, @"SimpleAggregateFunction"))
|
||||
dbTypeName = Regex.Match(dbTypeName, @"((?<=,\s)[^Nullable]\w+)|((?<=Nullable\()\w+)").Value;
|
||||
else
|
||||
dbTypeName = Regex.Replace(dbTypeName, @"\(.+\)", "");
|
||||
}
|
||||
dbTypeName = dbTypeName.Trim();
|
||||
|
Loading…
Reference in New Issue
Block a user