Gorm: why this is a pointer;为啥这个是指针类型, 这样有什么好处吗,还是必须这么做

Created on 17 Jul 2018  ·  1Comment  ·  Source: go-gorm/gorm

Most helpful comment

Because nil value of *time.Time interprets as NULL in database

>All comments

Because nil value of *time.Time interprets as NULL in database

Was this page helpful?
0 / 5 - 0 ratings