func (o *PollsCounty) County(mods ...qm.QueryMod) countyQuery {
	queryMods := []qm.QueryMod{
		qm.Where("county_id=?", o.CountyID),
	}

	queryMods = append(queryMods, mods...)

	query := Counties(queryMods...)
	queries.SetFrom(query.Query, "\"county\"")

	return query
}
// County pointed to by the foreign key.
County pointed to by the foreign key.
// County pointed to by the foreign key .
func (o *PollsCounty) County(mods ...qm.QueryMod) countyQuery {
	queryMods := []qm.QueryMod{
		qm.Where("county_id=?", o.CountyID),
	}
	queryMods = append(queryMods, mods...)
	query := Counties(queryMods...)
	queries.SetFrom(query.Query, "\"county\"")
	return query
}
func ( o * PollsCounty ) County ( mods ... qm . QueryMod ) countyQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . CountyID ) , } queryMods = append ( queryMods , mods ... ) query := Counties ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
County pointed to by the foreign key.
County pointed to by the foreign key .