Synchronization code

This commit is contained in:
sunkaixuan
2023-03-18 13:54:17 +08:00
parent fac58d5aec
commit 54293fb6f6

View File

@@ -62,7 +62,7 @@ namespace SqlSugar
pg_namespace n on n.oid = c.relnamespace and nspname='" + schema + @"' pg_namespace n on n.oid = c.relnamespace and nspname='" + schema + @"'
inner join inner join
pg_tables z on z.tablename=c.relname pg_tables z on z.tablename=c.relname
where relkind = 'r' and relname not like 'pg_%' and relname not like 'sql_%' and schemaname='" + schema + "' order by relname"; where relkind in('p', 'r') and relname not like 'pg_%' and relname not like 'sql_%' and schemaname='" + schema + "' order by relname";
} }
} }
protected override string GetViewInfoListSql protected override string GetViewInfoListSql