当前位置:网站首页>About MySQL Boolean and tinyint (1)
About MySQL Boolean and tinyint (1)
2022-06-30 09:07:00 【Dazhi Technology】
MySQL preservation boolean Value 1 representative TRUE,0 representative FALSE.
boolean stay mysql The type in is tinyint(1).MySQL There are four constants in it :true,false,TRUE,FALSE Represent the 1,0,1,0.
create table test
(
id int primary key,
bl boolean
)
In this way, it can be created successfully . When you view the statement after creating a table, you will find that ,mysql Replace it with tinyint(1).
stay pojo Directly define the attribute as a Boolean value in :private Boolean statusv
边栏推荐
- Redis design and Implementation (III) | interaction between server and client (event IO model)
- Redis design and Implementation (I) | data structure & object
- 使用华为性能管理服务,按需配置采样率
- [JPEG] how to compile JPEG turbo library files on different platforms
- 14岁懂社会-《关于“工作的幸福”这件事儿》读书笔记
- 维基媒体基金会公布新商业产品“维基媒体企业”首批客户
- Esp32 things (VIII): music playing function of function development
- C#访问SQL Server数据库两种方式的比较(SqlDataReader vs SqlDataAdapter)
- Summary of common pytoch APIs
- Detailed explanation of pytoch's scatter function
猜你喜欢

Anchorgenerator for mmdet line by line interpretation

Use Huawei performance management service to configure the sampling rate on demand

Wikimedia Foundation announces the first customers of its new commercial product "Wikimedia enterprise"

Metasploit practice - SSH brute force cracking process

TiDB v6.0.0 (DMR) :缓存表初试丨TiDB Book Rush

使用华为性能管理服务,按需配置采样率

Flink 数据偶尔数据积压导致checkpoint失败

Detailed explanation of pytoch's scatter function

Deeply understand the working principle of kotlin collaboration suspend (beginners can also understand it)

Summary of common pytoch APIs
随机推荐
Opencv learning notes -day8 (keyboard typing (waitkey()); Wait for typing) action: triggers some action when the appropriate character is typed using the keyboard)
[paid promotion] collection of frequently asked questions, FAQ of recommended list
Esp32 things (II): sharpening the knife without mistaking firewood - make preparations before project development
基于Svelte3.x桌面端UI组件库Svelte UI
Detectron2 source code reading 3-- encapsulating dataset with mapper
Talk about writing
Flink Exception -- No ExecutorFactory found to execute the application
14岁懂社会-《关于“工作的幸福”这件事儿》读书笔记
Influencing factors of echo cancellation for smart speakers
Introduction to MySQL basics day4 power node [Lao Du] class notes
Talk about how the kotlin process started?
Deep understanding of kotlin collaboration context coroutinecontext
Flink sql -- No factory implements ‘org.apache.flink.table.delegation.ExecutorFactory‘.
Dart asynchronous task
CUDA implements matrix replication
Rew acoustic test (IV): test principle of rew
Invalid update: invalid number of sections. The number of sections contained in the table view after
Design specification for smart speakers v1.0
QT downloading files through URL
Introduction to the runner of mmcv