http://qs321.pair.com?node_id=554078


in reply to Re^2: What's your favorite SQL generation module?
in thread What's your favorite SQL generation module?

Since no-one has mentioned DBIx::Class and its powerful synergy with SQL::Abstract (a good SQL generator on its own), I now mention it. Jesse Vincent's DBIx::SearchBuilder is heavily used. And we can't forget DBIx::Recordset for a change in approach, though I am not happy with what happened to all my bugfixes to it. qw
  • Comment on Re^3: What's your favorite SQL generation module?

Replies are listed 'Best First'.
Re^4: What's your favorite SQL generation module?
by perrin (Chancellor) on Jun 07, 2006 at 16:50 UTC
    Thanks for the suggestions. I looked at DBIx::Class, but it doesn't seem to have encapsulated the SQL generation into a single piece that can be used without the rest of it. SQL::Abstract is okay for WHERE clauses but can't handle anything fancy, particularly joins. DBIx::SearchBuilder bears looking into. At first glance it seems like it wants to the DBI part too though, which would disqualify it. DBIx::Recordset always put me off with its syntax, but I'll give that another look too.