Home >

go gorm

Advertisement
  • One-one relationship with different table namesin Gorm

    One-one relationship with different table namesin GormJanuary 15

    I have the following tables. nyct2010 and trips The models I have defined are below. type Nyct2010 struct { Id int `gorm:"column:gid"` Borocode int } type Trip struct { Id int PickupLongitude float64 `gorm:"column:pickup_longitude"` Pi

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.312 s.