[Flow] Simple database query
Patric Eckhart
mail at patriceckhart.com
Wed Jan 7 09:03:30 CET 2015
Hey,
I will create a simple database query but it doesn't work.
And then I would have the value from the column "name" in my view.
/**
* @Flow\Inject
* @var \TYPO3\Flow\Persistence\Doctrine\Query
*/
protected $doctrineQuery;
/**
* @param string $email
* @return void
*/
public function myAction($email){
$query = $this->doctrineQuery->getResult();
$query->$this->doctrineQuery->matching($query->$this->doctrineQuery->equals($email))->setLimit(10)->execute();
$this->view->assign('name', $query);
}
I'm very grateful for your help!!!
More information about the Flow
mailing list