Re: autogenerating has_a and has_many from foreign keys

[prev] [thread] [next] [Date index for 2004/12/14]

From: merlyn (Randal L. Schwartz)
Subject: Re: autogenerating has_a and has_many from foreign keys
Date: 21:09 on 14 Dec 2004
>>>>> "Sebastian" == Sebastian Riedel <sri@xxxx.xx> writes:

Sebastian> I would really like to see this as part of Class::DBI::Loader.

Feel free to adapt and adopt!

Sebastian> 0.06 was released today and it cleans up some redundancies
Sebastian> (that may have annoyed you), see
Sebastian> Class::DBI::Loader::Generic::_load_classes().

Sebastian> Please tell me if you've got a sane patch or need some hooks for a
Sebastian> separate module...

One of the things that scared me is that I used ->classes and ->tables,
but those weren't documented.  If you could (a) document them and (b)
promise that they return the list in the same order, my code will work
safely. :)

        -- 
        Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@xxxxxxxxxx.xxx> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!

autogenerating has_a and has_many from foreign keys
merlyn (Randal L. Schwartz) 15:30 on 13 Dec 2004

Re: autogenerating has_a and has_many from foreign keys
merlyn (Randal L. Schwartz) 15:46 on 13 Dec 2004

Re: autogenerating has_a and has_many from foreign keys
merlyn (Randal L. Schwartz) 15:55 on 13 Dec 2004

Re: autogenerating has_a and has_many from foreign keys
Sebastian Riedel 21:04 on 14 Dec 2004

Re: autogenerating has_a and has_many from foreign keys
merlyn (Randal L. Schwartz) 21:09 on 14 Dec 2004

Re: autogenerating has_a and has_many from foreign keys
Sebastian Riedel 21:22 on 14 Dec 2004

Re: autogenerating has_a and has_many from foreign keys
merlyn (Randal L. Schwartz) 16:01 on 13 Dec 2004

Generated at 11:30 on 23 Feb 2005 by mariachi v0.52