marcele Posted April 15, 2006 Share Posted April 15, 2006 Just a suggestion .. sometimes I want to use 'GROUP BY' in a simple_select .. it seems like it is missing from the IPS DB Driver.. eg$this->ipsclass->DB->simple_construct( array( 'select' => 'f.foo, COUNT(*) AS some_count', 'from' => array('foo => 'f'), 'add_join' => array( 0 => array( 'from' => array( 'bar' => 'b' ), 'where' => 'f.id = b.id', 'type' => 'left' )), 'group' => 'f.foo', 'order' => 'f.foo ASC' )); Link to comment Share on other sites More sharing options...
ryder Posted April 15, 2006 Share Posted April 15, 2006 I second this, I project I just finished I had to fall back on $this->ipsclass->DB->query(); twice because of the lack of group by support in the driver. Link to comment Share on other sites More sharing options...
Fabien Posted April 19, 2006 Share Posted April 19, 2006 Good Idea :thumbsup: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.