func (o *Street) StreetType(mods ...qm.QueryMod) streetTypeQuery {
	queryMods := []qm.QueryMod{
		qm.Where("street_type_id=?", o.StreetTypeID),
	}

	queryMods = append(queryMods, mods...)

	query := StreetTypes(queryMods...)
	queries.SetFrom(query.Query, "\"street_type\"")

	return query
}
// StreetType pointed to by the foreign key.
StreetType pointed to by the foreign key.
// StreetType pointed to by the foreign key .
func (o *Street) StreetType(mods ...qm.QueryMod) streetTypeQuery {
	queryMods := []qm.QueryMod{
		qm.Where("street_type_id=?", o.StreetTypeID),
	}
	queryMods = append(queryMods, mods...)
	query := StreetTypes(queryMods...)
	queries.SetFrom(query.Query, "\"street_type\"")
	return query
}
func ( o * Street ) StreetType ( mods ... qm . QueryMod ) streetTypeQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . StreetTypeID ) , } queryMods = append ( queryMods , mods ... ) query := StreetTypes ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
StreetType pointed to by the foreign key.
StreetType pointed to by the foreign key .