Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Perl ORM comparison (Class::DBI vs. DBIx::Class vs. Rose::DB::Object)

by perrin (Chancellor)
on Jul 29, 2008 at 22:27 UTC ( #700936=note: print w/ replies, xml ) Need Help??


in reply to Perl ORM comparison (Class::DBI vs. DBIx::Class vs. Rose::DB::Object)

It's pretty easy to run arbitrary SQL with Rose::DB::Object. Just check the docs. There's a pretty good comparison with DBIx::Class here.


Comment on Re: Perl ORM comparison (Class::DBI vs. DBIx::Class vs. Rose::DB::Object)
Re^2: Perl ORM comparison (Class::DBI vs. DBIx::Class vs. Rose::DB::Object)
by clinton (Priest) on Jul 30, 2008 at 09:40 UTC
    ++ on that link - well worth a read. Very balanced comparison by the author of Rose::DB
Re^2: Perl ORM comparison (Class::DBI vs. DBIx::Class vs. Rose::DB::Object)
by aulusoy (Scribe) on Jul 31, 2008 at 20:05 UTC

    Thank you for the link. It's really good and detailed.

    However, I don't see how executing SQL is easy with Rose::DB::Object. I've read the docs, but the only way I could find was to access the dbh and call DBI methods on it. That breaks the link with the ORM. Is there an other way that I am missing?

      Look at get_objects_from_sql() and make_manager_method_from_sql().

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2015-07-06 05:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (70 votes), past polls