据
SQLite 3 documentation称,它具有“类型亲和力”功能来强制列数据类型.但是如何打开它呢?
类型亲和力不会强制列数据类型 – 它只是建议底层存储引擎如何存储数据.
在“类型亲和力”部分下:
The type affinity of a column is the recommended type for data stored
in that column. The important idea here is that the type is
recommended,not required. Any column can still store any type of data.
(重点补充)