func (o *PollsPollsGroup) PollGroup(mods ...qm.QueryMod) pollsGroupQuery {
	queryMods := []qm.QueryMod{
		qm.Where("poll_group_id=?", o.PollGroupID),
	}

	queryMods = append(queryMods, mods...)

	query := PollsGroups(queryMods...)
	queries.SetFrom(query.Query, "\"polls_groups\"")

	return query
}
// PollGroup pointed to by the foreign key.
PollGroup pointed to by the foreign key.
// PollGroup pointed to by the foreign key .
func (o *PollsPollsGroup) PollGroup(mods ...qm.QueryMod) pollsGroupQuery {
	queryMods := []qm.QueryMod{
		qm.Where("poll_group_id=?", o.PollGroupID),
	}
	queryMods = append(queryMods, mods...)
	query := PollsGroups(queryMods...)
	queries.SetFrom(query.Query, "\"polls_groups\"")
	return query
}
func ( o * PollsPollsGroup ) PollGroup ( mods ... qm . QueryMod ) pollsGroupQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . PollGroupID ) , } queryMods = append ( queryMods , mods ... ) query := PollsGroups ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
PollGroup pointed to by the foreign key.
PollGroup pointed to by the foreign key .