Update Clickhouse

This commit is contained in:
sunkaixuan 2024-06-26 13:49:56 +08:00
parent 93782b92da
commit 4efe10449d

View File

@ -23,7 +23,7 @@ namespace SqlSugar.ClickHouse
string schema = GetSchema();
string sql = @"select table_name as TableName,
column_type as DataType ,
is_nullable as IsNullable,
cast(is_nullable as bool) as IsNullable,
column_name DbColumnName,
column_comment as ColumnDescription from information_schema.columns a where lower(table_name) =lower('{0}') and lower(table_schema) = lower('"+schema+"')";
return sql;