mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 14:04:44 +08:00
Update 人大金仓
This commit is contained in:
parent
53b294384b
commit
295ef2d339
@ -84,9 +84,15 @@ namespace SqlSugar
|
||||
cast(obj_description(relfilenode,'pg_class') as varchar) as Description from pg_class c
|
||||
where relkind = 'r' and c.oid >= 16384 and c.relnamespace != 99 and c.relname not like '%pl_profiler_saved%' order by relname";
|
||||
}
|
||||
return @"select cast(relname as varchar) as Name,
|
||||
var result= @"select cast(relname as varchar) as Name,
|
||||
cast(obj_description(relfilenode,'pg_class') as varchar) as Description from sys_class c
|
||||
where relkind = 'r' and c.oid >= 16384 and c.relnamespace != 99 and c.relname not like '%pl_profiler_saved%' order by relname";
|
||||
|
||||
if (IsSqlServerModel())
|
||||
{
|
||||
result = result.Replace(" as varchar)", " as varchar(max))");
|
||||
}
|
||||
return result;
|
||||
}
|
||||
}
|
||||
protected override string GetViewInfoListSql
|
||||
|
Loading…
Reference in New Issue
Block a user