func (o *UserPersonalInfoHonor) Honor(mods ...qm.QueryMod) honorQuery {
	queryMods := []qm.QueryMod{
		qm.Where("honor_id=?", o.HonorID),
	}

	queryMods = append(queryMods, mods...)

	query := Honors(queryMods...)
	queries.SetFrom(query.Query, "\"honors\"")

	return query
}
// Honor pointed to by the foreign key.
Honor pointed to by the foreign key.
// Honor pointed to by the foreign key .
func (o *UserPersonalInfoHonor) Honor(mods ...qm.QueryMod) honorQuery {
	queryMods := []qm.QueryMod{
		qm.Where("honor_id=?", o.HonorID),
	}
	queryMods = append(queryMods, mods...)
	query := Honors(queryMods...)
	queries.SetFrom(query.Query, "\"honors\"")
	return query
}
func ( o * UserPersonalInfoHonor ) Honor ( mods ... qm . QueryMod ) honorQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . HonorID ) , } queryMods = append ( queryMods , mods ... ) query := Honors ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
Honor pointed to by the foreign key.
Honor pointed to by the foreign key .