Update ClickHouse

This commit is contained in:
sunkaixuan 2022-08-14 00:40:24 +08:00
parent fbf8474e11
commit d4e22d0fbb

View File

@ -40,10 +40,7 @@ namespace SqlSugar.ClickHouse
{ {
get get
{ {
return @"select cast(relname as varchar) as Name,cast(Description as varchar) from pg_description return @" select * from information_schema.columns where 1=2";
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