[Dbix-class] many_to_many data access

David Cantrell david at cantrell.org.uk
Thu Jul 12 11:54:06 GMT 2012


On Thu, Jul 12, 2012 at 09:53:30AM +0100, Frank Schwach wrote:

> except if you are expecting international customers: in many countries 
> there are no "states", so a city really only "might_have" a state and 
> the city itself "belongs_to" a country, The (optional) state also 
> "belongs_to" a country

And not all addresses have a "city", not all addresses (even within a
single country) have the same number of elements, and some places are in
multiple countries.  Oh what fun!

Stupid real world being hard to model.

-- 
David Cantrell | Nth greatest programmer in the world

We found no search results for "crotchet".  Did you mean "crotch"?



More information about the DBIx-Class mailing list