Re: What relationships does a class have?

[prev] [thread] [next] [Date index for 2005/03/15]

From: .--- .- -- . ...
Subject: Re: What relationships does a class have?
Date: 15:15 on 15 Mar 2005
sean, 

CDBI classes generally have the relationships that you define for them
via has_a, has_many, etc... I've not used any of  the *::Loaders, but
I think that auto-discovery of table relationships is relatively
experimental (?)

as for methods, you can assume that all of the columns in your tables
become accessors and mutators in your classes ( setting up
relationships complicates this by turning some of the values your
accessors return into objects, i.e. foreign keys)

- james


On Tue, 15 Mar 2005 09:52:56 -0500, Sean Davis <sdavis2@xxxx.xxx.xxx> wrote:
> I am using CDBI::Loader on a rather large schema and wondered if there
> is a way to get the relationships (or even methods) that a class has?
> I imagine there is, but I haven't found it.
> 
> Thanks,
> Sean
> 
> 


        -- 
        .--- .- -- . ... -.-- --- ---

What relationships does a class have?
Sean Davis 14:52 on 15 Mar 2005

Re: What relationships does a class have?
.--- .- -- . ... 15:15 on 15 Mar 2005

Re: What relationships does a class have?
Sebastian Riedel 17:41 on 15 Mar 2005

Re: What relationships does a class have?
Sean Davis 17:50 on 15 Mar 2005

Re: What relationships does a class have?
Kingsley Kerce 15:15 on 15 Mar 2005

Re: What relationships does a class have?
William Ross 15:20 on 15 Mar 2005

Generated at 15:09 on 27 Mar 2005 by mariachi v0.52