mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
Synchronization code
This commit is contained in:
@@ -70,10 +70,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return @"select cast(relname as varchar) as Name,cast(Description as varchar) from pg_description
|
return @"select table_name as name from information_schema.views where table_schema ='" + GetSchema()+"' ";
|
||||||
join pg_class on pg_description.objoid = pg_class.oid
|
|
||||||
where objsubid = 0 and relname in (SELECT viewname from pg_views
|
|
||||||
WHERE schemaname ='"+GetSchema()+"')";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
Reference in New Issue
Block a user