Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^4: Class::DBI vs. DBIx::Class

by tphyahoo (Vicar)
on Jun 26, 2006 at 12:20 UTC ( #557565=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Class::DBI vs. DBIx::Class
in thread Class::DBI vs. DBIx::Class

DBIx::Class::Schema::Loader is relatively new, and purports to do something similar to Class::DBI::Loader. I haven't tried it, but it judging by postings on the catalyst newsgroup, it seems to be getting popular. I'm not sure if it does foreign keys. It's not mentioned in the pod, so I guess not... but on the other hand, fk relationships aren't mentioned in the pod for Class::DBI::Loader either.

Whatever the case, DBIX schema loader is under active development, so if there's not fk support already, maybe sometime soon.


Comment on Re^4: Class::DBI vs. DBIx::Class
Re^5: Class::DBI vs. DBIx::Class
by submersible_toaster (Chaplain) on Jun 26, 2006 at 18:00 UTC

    Since playing with DBIx::Class and related also within (as mentioned above) Catalyst and on it's own , I am seriously considering it for new projects and _almost_ tempted to port existing work over to DBIx::Class from Class::DBI.

    AFAIK DBIx::Class::Schema::Loader does not automagicly figure out fk relationships (does not work for me) but I generally turn relationships off in the Loader and DWIM explicitly in the loaded classes. Check out DBIx::Class::Manual::DocMap , read it all.


    I can't believe it's not psellchecked

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://557565]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (12)
As of 2014-07-22 22:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (129 votes), past polls