func (o *Poll) Theme(mods ...qm.QueryMod) themeQuery {
	queryMods := []qm.QueryMod{
		qm.Where("theme_id=?", o.ThemeID),
	}

	queryMods = append(queryMods, mods...)

	query := Themes(queryMods...)
	queries.SetFrom(query.Query, "\"themes\"")

	return query
}
// Theme pointed to by the foreign key.
Theme pointed to by the foreign key.
// Theme pointed to by the foreign key .
func (o *Poll) Theme(mods ...qm.QueryMod) themeQuery {
	queryMods := []qm.QueryMod{
		qm.Where("theme_id=?", o.ThemeID),
	}
	queryMods = append(queryMods, mods...)
	query := Themes(queryMods...)
	queries.SetFrom(query.Query, "\"themes\"")
	return query
}
func ( o * Poll ) Theme ( mods ... qm . QueryMod ) themeQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . ThemeID ) , } queryMods = append ( queryMods , mods ... ) query := Themes ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
Theme pointed to by the foreign key.
Theme pointed to by the foreign key .