Saving facebook id as int or varchar?

后端 未结 7 2081
小鲜肉
小鲜肉 2020-12-29 02:32

My question is more advisory than technical. I\'m writing a Facebook app in which I am fetching some information about the user, including facebook_id.
I was wondering i

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-29 02:47

    similar question to: Facebook user_id : big_int, int or string?

    "I would not use a string. That makes comparisons painful and your indexes clunkier than they need to be."

提交回复
热议问题