Update 人大金仓

This commit is contained in:
sunkaixuan 2024-07-30 09:14:01 +08:00
parent 9dbeee453f
commit ee9b42c1b6
2 changed files with 2 additions and 12 deletions

View File

@ -89,17 +89,7 @@ namespace SqlSugar
{
get
{
if (IsPgModel())
{
return @"select cast(relname as varchar) as Name,cast(Description as varchar) from pg_description
join pg_class on pg_description.objoid = pg_class.oid
where objsubid = 0 and relname in (SELECT viewname from pg_views
WHERE schemaname ='"+GetSchema()+"')";
}
return @"select cast(relname as varchar) as Name,cast(Description as varchar) from sys_description
join sys_class on sys_description.objoid = sys_class.oid
where objsubid = 0 and relname in (SELECT viewname from sys_views
WHERE schemaname ='"+GetSchema()+"')";
return @"select table_name as name from information_schema.views where table_schema ='" + GetSchema() + "' ";
}
}
#endregion

View File

@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.167-preview06</version>
<version>5.1.4.167-preview11</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>