|
|||
|
Hi,
How to make a DISTINCT selection from a table? from table below, I select all data from table ITEM, in table item, there are some records which have same name. PHP Code:
PHP Code:
I can use DISTINCT mode when I use the DB object instead of Table object, like: PHP Code:
Thanks! |
|
||||
|
What adapter are you using ? PDO_Mysql ?
__________________
Zend Framework Tutorials | Zend Framework Forums | Zend Framework IRC Channel | | Zend Framework Resources | CoreShifter |
|
|||
|
From the documentation:
Quote:
Doesn't seem like you can execute it from a model though... |
![]() |
| Thread Tools | |
| Display Modes | |
|
|