func (o *State) Country(mods ...qm.QueryMod) countryQuery {
	queryMods := []qm.QueryMod{
		qm.Where("country_id=?", o.CountryID),
	}

	queryMods = append(queryMods, mods...)

	query := Countries(queryMods...)
	queries.SetFrom(query.Query, "\"country\"")

	return query
}
// Country pointed to by the foreign key.
Country pointed to by the foreign key.
// Country pointed to by the foreign key .
func (o *State) Country(mods ...qm.QueryMod) countryQuery {
	queryMods := []qm.QueryMod{
		qm.Where("country_id=?", o.CountryID),
	}
	queryMods = append(queryMods, mods...)
	query := Countries(queryMods...)
	queries.SetFrom(query.Query, "\"country\"")
	return query
}
func ( o * State ) Country ( mods ... qm . QueryMod ) countryQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . CountryID ) , } queryMods = append ( queryMods , mods ... ) query := Countries ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
Country pointed to by the foreign key.
Country pointed to by the foreign key .