// Links retrieves all the link's Links with an executor.
Links retrieves all the link's Links with an executor.
// Links retrieves all the link ' s Links with an executor .
func (o *UserAccount) Links(mods ...qm.QueryMod) linkQuery {
	var queryMods []qm.QueryMod
	if len(mods) != 0 {
		queryMods = append(queryMods, mods...)
	}
	queryMods = append(queryMods,
		qm.Where("\"links\".\"user_account_id\"=?", o.UserAccountID),
	)
	query := Links(queryMods...)
	queries.SetFrom(query.Query, "\"links\"")
	if len(queries.GetSelect(query.Query)) == 0 {
		queries.SetSelect(query.Query, []string{"\"links\".*"})
	}
	return query
}
func ( o * UserAccount ) Links ( mods ... qm . QueryMod ) linkQuery { var queryMods [ ] qm . QueryMod if len ( mods ) != 0 { queryMods = append ( queryMods , mods ... ) } queryMods = append ( queryMods , qm . Where ( " \" \" \" \" " , o . UserAccountID ) , ) query := Links ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) if len ( queries . GetSelect ( query . Query ) ) == 0 { queries . SetSelect ( query . Query , [ ] string { " \" \" " } ) } return query }
Links retrieves all the link's Links with an executor.
Links retrieves all the link ' s Links with an executor .