mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-12-05 03:17:41 +08:00
Update Clickhouse
This commit is contained in:
@@ -23,7 +23,7 @@ namespace SqlSugar.ClickHouse
|
|||||||
string schema = GetSchema();
|
string schema = GetSchema();
|
||||||
string sql = @"select table_name as TableName,
|
string sql = @"select table_name as TableName,
|
||||||
column_type as DataType ,
|
column_type as DataType ,
|
||||||
is_nullable as IsNullable,
|
cast(is_nullable as bool) as IsNullable,
|
||||||
column_name DbColumnName,
|
column_name DbColumnName,
|
||||||
column_comment as ColumnDescription from information_schema.columns a where lower(table_name) =lower('{0}') and lower(table_schema) = lower('"+schema+"')";
|
column_comment as ColumnDescription from information_schema.columns a where lower(table_name) =lower('{0}') and lower(table_schema) = lower('"+schema+"')";
|
||||||
return sql;
|
return sql;
|
||||||
|
|||||||
Reference in New Issue
Block a user