func (o *Street) StreetName(mods ...qm.QueryMod) streetNameQuery {
	queryMods := []qm.QueryMod{
		qm.Where("street_name_id=?", o.StreetNameID),
	}

	queryMods = append(queryMods, mods...)

	query := StreetNames(queryMods...)
	queries.SetFrom(query.Query, "\"street_name\"")

	return query
}
// StreetName pointed to by the foreign key.
StreetName pointed to by the foreign key.
// StreetName pointed to by the foreign key .
func (o *Street) StreetName(mods ...qm.QueryMod) streetNameQuery {
	queryMods := []qm.QueryMod{
		qm.Where("street_name_id=?", o.StreetNameID),
	}
	queryMods = append(queryMods, mods...)
	query := StreetNames(queryMods...)
	queries.SetFrom(query.Query, "\"street_name\"")
	return query
}
func ( o * Street ) StreetName ( mods ... qm . QueryMod ) streetNameQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . StreetNameID ) , } queryMods = append ( queryMods , mods ... ) query := StreetNames ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
StreetName pointed to by the foreign key.
StreetName pointed to by the foreign key .