func (o *PollsLabel) Poll(mods ...qm.QueryMod) pollQuery {
	queryMods := []qm.QueryMod{
		qm.Where("poll_id=?", o.PollID),
	}

	queryMods = append(queryMods, mods...)

	query := Polls(queryMods...)
	queries.SetFrom(query.Query, "\"polls\"")

	return query
}
// Poll pointed to by the foreign key.
Poll pointed to by the foreign key.
// Poll pointed to by the foreign key .
func (o *PollsLabel) Poll(mods ...qm.QueryMod) pollQuery {
	queryMods := []qm.QueryMod{
		qm.Where("poll_id=?", o.PollID),
	}
	queryMods = append(queryMods, mods...)
	query := Polls(queryMods...)
	queries.SetFrom(query.Query, "\"polls\"")
	return query
}
func ( o * PollsLabel ) Poll ( mods ... qm . QueryMod ) pollQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . PollID ) , } queryMods = append ( queryMods , mods ... ) query := Polls ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
Poll pointed to by the foreign key.
Poll pointed to by the foreign key .