func (o *TitleAfterLastName) UserPersonalInfoTitleAfterLastNames(mods ...qm.QueryMod) userPersonalInfoTitleAfterLastNameQuery {
	var queryMods []qm.QueryMod
	if len(mods) != 0 {
		queryMods = append(queryMods, mods...)
	}

	queryMods = append(queryMods,
		qm.Where("\"user_personal_info_title_after_last_name\".\"title_after_last_name_id\"=?", o.TitleAfterLastNameID),
	)

	query := UserPersonalInfoTitleAfterLastNames(queryMods...)
	queries.SetFrom(query.Query, "\"user_personal_info_title_after_last_name\"")

	if len(queries.GetSelect(query.Query)) == 0 {
		queries.SetSelect(query.Query, []string{"\"user_personal_info_title_after_last_name\".*"})
	}

	return query
}
// UserPersonalInfoTitleAfterLastNames retrieves all the user_personal_info_title_after_last_name's UserPersonalInfoTitleAfterLastNames with an executor.
UserPersonalInfoTitleAfterLastNames retrieves all the user_personal_info_title_after_last_name's UserPersonalInfoTitleAfterLastNames with an executor.
// UserPersonalInfoTitleAfterLastNames retrieves all the user_personal_info_title_after_last_name ' s UserPersonalInfoTitleAfterLastNames with an executor .
func (o *TitleAfterLastName) UserPersonalInfoTitleAfterLastNames(mods ...qm.QueryMod) userPersonalInfoTitleAfterLastNameQuery {
	var queryMods []qm.QueryMod
	if len(mods) != 0 {
		queryMods = append(queryMods, mods...)
	}
	queryMods = append(queryMods,
		qm.Where("\"user_personal_info_title_after_last_name\".\"title_after_last_name_id\"=?", o.TitleAfterLastNameID),
	)
	query := UserPersonalInfoTitleAfterLastNames(queryMods...)
	queries.SetFrom(query.Query, "\"user_personal_info_title_after_last_name\"")
	if len(queries.GetSelect(query.Query)) == 0 {
		queries.SetSelect(query.Query, []string{"\"user_personal_info_title_after_last_name\".*"})
	}
	return query
}
func ( o * TitleAfterLastName ) UserPersonalInfoTitleAfterLastNames ( mods ... qm . QueryMod ) userPersonalInfoTitleAfterLastNameQuery { var queryMods [ ] qm . QueryMod if len ( mods ) != 0 { queryMods = append ( queryMods , mods ... ) } queryMods = append ( queryMods , qm . Where ( " \" \" \" \" " , o . TitleAfterLastNameID ) , ) query := UserPersonalInfoTitleAfterLastNames ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) if len ( queries . GetSelect ( query . Query ) ) == 0 { queries . SetSelect ( query . Query , [ ] string { " \" \" " } ) } return query }
UserPersonalInfoTitleAfterLastNames retrieves all the user_personal_info_title_after_last_name's UserPersonalInfoTitleAfterLastNames with an executor.
UserPersonalInfoTitleAfterLastNames retrieves all the user_personal_info_title_after_last_name ' s UserPersonalInfoTitleAfterLastNames with an executor .