uint or int which one is better in MVC mode? #2026
Unanswered
spencerchang
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use gorm as ORM with iris. And i found the default primary key is unit type.
In order to consistent should i use all unit type is better?
But for example count query will return int64 type.
Even though type is int but also can be assigned unsigned to make sure enough long for fields.
I'm a little bit confused about it.
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions