Re: [CDBI] order_by with joined tables?

Perrin Harkins <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
On Thu, 2006-11-02 at 11:14 -0800, Alan wrote:
> select name,fullname 
> from people join company on company.id = people.company_id
> where blah 
> order by company.name
> 
> However I don't know how to get this into the nice CDBI framework :(

You need set_sql.
http://wiki.class-dbi.com/wiki/Beginners_guide#set_sql

- Perrin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.