在我使用 Tarantool 的第一步中,我想知道如何做一些基本的事情。
想象一下,我正在存储以下寄存器:
s:insert(1,'{"name": "foo name", "phone": "foo phone"}')
s:insert(2,'{"name": "barname", "phone": "bar phone"}')
SQL数据库中是否有类似于自动增量主键的东西,所以我不需要枚举索引?
就像在 Tarantool 1.6 中根本没有指定主索引一样。
谢谢,
在我使用 Tarantool 的第一步中,我想知道如何做一些基本的事情。
想象一下,我正在存储以下寄存器:
s:insert(1,'{"name": "foo name", "phone": "foo phone"}')
s:insert(2,'{"name": "barname", "phone": "bar phone"}')
SQL数据库中是否有类似于自动增量主键的东西,所以我不需要枚举索引?
就像在 Tarantool 1.6 中根本没有指定主索引一样。
谢谢,