- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for personAddressInfoList (0.08 sec)
-
tests/scan_test.go
var personAddressInfoList []*PersonAddressInfo if err := DB.Select("people.*, addresses.*"). Table("people"). Joins("inner join person_addresses on people.id = person_addresses.person_id"). Joins("inner join addresses on person_addresses.address_id = addresses.id"). Find(&personAddressInfoList).Error; err != nil { t.Errorf("Failed to run join query, got error: %v", err)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0)