Welcome, Guest. Register Now!
   
Mark Forums Read Mark Forums Read Mark Forums Read


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-03-2008, 11:48 PM
Junior Member
 
Join Date: Dec 2007
Posts: 1
Question Select group by columns

how can i define the next query

select month(date) as table.month, day(date) as table.date from ...

as model i use

PHP Code:
<?
class table extends Zend_Db_Table
{
    protected 
$_name 'table';
}
is there something like

PHP Code:
protected $_SelectColumns 'month(date) as table.month, day(date) as table.date'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:04 PM.