[FLOW3-general] statement method (sql query)

Phallin Hor phallin at web-essentials.asia
Thu Sep 6 08:42:03 CEST 2012


On 09/06/2012 01:07 PM, Robin Lehrmann wrote:
>
>>
>> And I also try
>>
>> public function findCustomerGroupByName() {
>>         $query = $this->createQuery();
>>         $query->statement('SELECT * FROM  employees GROUP BY name');
>>         return $query->execute();
>>     }
>>
> I think:
>
> public function findCustomerGroupByName() {
>          $query = $this->createQuery('SELECT * FROM  employees GROUP BY
> name');
>          return $query->execute();
>      }

Thank for your valuable reply.


More information about the FLOW3-general mailing list