mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
测试ClickHouse Bool映射插入
This commit is contained in:
@ -43,8 +43,9 @@ namespace FreeSql.ClickHouse
|
||||
if (col.DbScale != 0) ret.Scale = col.DbScale;
|
||||
break;
|
||||
}
|
||||
if (value is bool)
|
||||
ret.Value = (bool)value ? 1 : 0;
|
||||
//直接使用Bool
|
||||
//if (value is bool)
|
||||
// ret.Value = (bool)value ? 1 : 0;
|
||||
}
|
||||
_params?.Add(ret);
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user