func (o *Street) Suburb(mods ...qm.QueryMod) suburbQuery {
	queryMods := []qm.QueryMod{
		qm.Where("suburb_id=?", o.SuburbID),
	}

	queryMods = append(queryMods, mods...)

	query := Suburbs(queryMods...)
	queries.SetFrom(query.Query, "\"suburb\"")

	return query
}
// Suburb pointed to by the foreign key.
Suburb pointed to by the foreign key.
// Suburb pointed to by the foreign key .
func (o *Street) Suburb(mods ...qm.QueryMod) suburbQuery {
	queryMods := []qm.QueryMod{
		qm.Where("suburb_id=?", o.SuburbID),
	}
	queryMods = append(queryMods, mods...)
	query := Suburbs(queryMods...)
	queries.SetFrom(query.Query, "\"suburb\"")
	return query
}
func ( o * Street ) Suburb ( mods ... qm . QueryMod ) suburbQuery { queryMods := [ ] qm . QueryMod { qm . Where ( " " , o . SuburbID ) , } queryMods = append ( queryMods , mods ... ) query := Suburbs ( queryMods ... ) queries . SetFrom ( query . Query , " \" \" " ) return query }
Suburb pointed to by the foreign key.
Suburb pointed to by the foreign key .