[Dbix-class] Extracting ORDER BY clause

Eden Cardim edencardim at gmail.com
Mon Jul 4 23:24:44 GMT 2011


>>>>> "Dmitry" == Dmitry Belyavsky <beldmit at gmail.com> writes:

    Dmitry> Hello!
    Dmitry> I need to extract a complex ORDER BY clause from the resultset in a
    Dmitry> string form. How can I do it (may be using internal methods of
    Dmitry> DBIx::Class, I know it's bad idea).

What's a "complex order by"? Can you provide code examples using both
DBIC, and the equivalent SQL you're expecting to obtain?

-- 
   Eden Cardim       Need help with your Catalyst or DBIx::Class project?
  Code Monkey                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://blog.edencardim.com/            http://www.shadowcat.co.uk/servers/
http://twitter.com/#!/edenc



More information about the DBIx-Class mailing list