[Flow] Re: Simple database query

Stephen Bungert stephenbungert at yahoo.de
Wed Jan 7 15:52:10 CET 2015


You need to put this part


$query = $this->doctrineQuery->getResult();
$query->$this->doctrineQuery->matching($query->$this->doctrineQuery->equals($email))->setLimit(10)->execute();

in a method in a repository, and call the method from your action in the controller. than you can assign the result to the view.


More information about the Flow mailing list