我想用SQLiteDatabase与列类型来创建表'龙'。
I want to create a table using SQLiteDatabase with column type 'Long'.
这可能吗?
(我只需要编写整数长呢?)
(I just need to write long instead of integer?)
形成 sqlite的文档
整数。值被一个符号整数,存储在1,2,3,4,6,或8个字节根据值的幅度。
INTEGER. The value is a signed integer, stored in 1, 2, 3, 4, 6, or 8 bytes depending on the magnitude of the value.
由于长
为8字节, INTEGER
也可以保存为8字节的值,这样你就可以使用 INTEGER
Since long
is 8 byte and INTEGER
can also save values of 8 bytes, so you can use INTEGER