These are chat archives for jinzhu/gorm

11th
Sep 2018
Ace Yin
@aceyin
Sep 11 2018 03:12
@jijunzeng the db.Create and db.FirstOrCreate/ FirstOrInit cannot generate correct "ID" value (the value of "ID" column always 0), what's wrong in my codes?
the question has been asked here: https://stackoverflow.com/questions/52268113/gorm-the-value-of-id-column-is-0-when-use-db-create-and-db-firstorcreate-to