mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 07:31:57 +00:00
fix boolean documents.
This commit is contained in:
parent
88f05ac14a
commit
da3d7f2835
@ -5,6 +5,8 @@ sidebar_label: Boolean
|
||||
|
||||
# Boolean Values {#boolean-values}
|
||||
|
||||
There is no separate type for boolean values. Use UInt8 type, restricted to the values 0 or 1.
|
||||
Since https://github.com/ClickHouse/ClickHouse/commit/4076ae77b46794e73594a9f400200088ed1e7a6e , there be a separate type for boolean values.
|
||||
|
||||
For versions before that, there is no separate type for boolean values. Use UInt8 type, restricted to the values 0 or 1.
|
||||
|
||||
[Original article](https://clickhouse.com/docs/en/data_types/boolean/) <!--hide-->
|
||||
|
@ -1,3 +1,5 @@
|
||||
# 布尔值 {#boolean-values}
|
||||
|
||||
没有单独的类型来存储布尔值。可以使用 UInt8 类型,取值限制为 0 或 1。
|
||||
从 https://github.com/ClickHouse/ClickHouse/commit/4076ae77b46794e73594a9f400200088ed1e7a6e 之后,有单独的类型来存储布尔值。
|
||||
|
||||
在此之前的版本,没有单独的类型来存储布尔值。可以使用 UInt8 类型,取值限制为 0 或 1。
|
||||
|
Loading…
Reference in New Issue
Block a user