0

https://developer.twitter.com/en/docs/twitter-ids我想将这样的雪花 ID 存储在我的 PostgresQL 数据库中,对此的准确约束和数据类型是什么?

起初我想"id" VARCHAR(19) NOT NULL,但后来我开始怀疑是否有更准确的东西

4

1 回答 1

0

从您在问题中链接的页面中,它说 Twitter id 是 64 位整数。所以你可以bigint在 postgres 中使用列类型。

于 2021-11-27T15:55:25.097 回答