[CDBI] CDBI table Definitions

Peter Speltz peterspeltz at gmail.com
Fri Sep 16 17:12:26 BST 2005

I think your short answer is yes.  One table can have many different
CDBI classes associated with it.  Your setup looks fine to me. There
is a Class::DBI::View module out there that may do what you want and
be less work for you.


On 9/15/05, Randy Burke <uncle.ranny at gmail.com> wrote:
> I am still trying to rap myh brain around all this, 
>  One question I am wondering:
>  It is common to set up our connection in one module and the table def in
> another. what I am wondering.... is it possible to define to table in one
> file and the the relations in another
>  IE
>  APP::DBI has the connection info
>  APP::Tab1 describes table 1
>  APP::Tab2 describes table 2
>  APP::Tab1::Rel1 has as the has_a and has_many llines for one view
>  APP::Tab1::Rel2 diffent view of the the relation ship.
>  the Rel modules would have us "use base APP::Tab1" at the top. 
>  I have a user database and users can be assign tickets and email. when I am
> working on mail tree I dont want to extra baggage of the ticket tree to be
> mucking thing up, 
>  It is also possible that I am not understand how things are load and
> assessed use CDBI. 
>  Randy B.
> _______________________________________________
> ClassDBI mailing list
> ClassDBI at lists.digitalcraftsmen.net
> http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi


More information about the ClassDBI mailing list