mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Update pgsql get table info
This commit is contained in:
parent
53d1c38463
commit
fdd1d90752
@ -57,7 +57,7 @@ namespace SqlSugar
|
||||
{
|
||||
var schema = GetSchema();
|
||||
return @"select cast(relname as varchar) as Name,
|
||||
cast(obj_description(relfilenode,'pg_class') as varchar) as Description from pg_class c
|
||||
cast(obj_description(c.oid,'pg_class') as varchar) as Description from pg_class c
|
||||
inner join
|
||||
pg_namespace n on n.oid = c.relnamespace and nspname='" + schema + @"'
|
||||
inner join
|
||||
|
Loading…
Reference in New Issue
Block a user