func (o *UserPersonalInfoTitleAfterLastName) UserPersonalInfo(mods ...qm.QueryMod) userPersonalInfoQuery {
	queryMods := []qm.QueryMod{
		qm.Where("user_personal_info_id=?", o.UserPersonalInfoID),
	}

	queryMods = append(queryMods, mods...)

	query := UserPersonalInfos(queryMods...)
	queries.SetFrom(query.Query, "\"user_personal_info\"")

	return query
}
// UserPersonalInfo pointed to by the foreign key.
UserPersonalInfo pointed to by the foreign key.
// UserPersonalInfo pointed to by the foreign key .
func (o *UserPersonalInfoTitleAfterLastName) UserPersonalInfo(mods ...qm.QueryMod) userPersonalInfoQuery {
	queryMods := []qm.QueryMod{
		qm.Where("user_personal_info_id=?", o.UserPersonalInfoID),
	}
	queryMods = append(queryMods, mods...)
	query := UserPersonalInfos(queryMods...)
	queries.SetFrom(query.Query, "\"user_personal_info\"")
	return query
}
func ( o * UserPersonalInfoTitleAfterLastName ) UserPersonalInfo ( mods ... qm . QueryMod ) userPersonalInfoQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . UserPersonalInfoID ) , } queryMods = append ( queryMods , mods ... ) query := UserPersonalInfos ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
UserPersonalInfo pointed to by the foreign key.
UserPersonalInfo pointed to by the foreign key .