mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Update 人大金仓
This commit is contained in:
@@ -89,17 +89,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
if (IsPgModel())
|
return @"select table_name as name from information_schema.views where table_schema ='" + GetSchema() + "' ";
|
||||||
{
|
|
||||||
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()+"')";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>SqlSugarCore</id>
|
<id>SqlSugarCore</id>
|
||||||
<version>5.1.4.167-preview06</version>
|
<version>5.1.4.167-preview11</version>
|
||||||
<authors>sunkaixuan</authors>
|
<authors>sunkaixuan</authors>
|
||||||
<owners>果糖大数据科技</owners>
|
<owners>果糖大数据科技</owners>
|
||||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||||
|
Reference in New Issue
Block a user