[FLOW3-general] statement method (sql query)

Robin Lehrmann role at vkf-renzel.de
Thu Sep 6 08:07:03 CEST 2012


>
> 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();
     }


More information about the FLOW3-general mailing list