[FLOW3-general] Repository Query with isEmpty
flow3 at leakx.net
flow3 at leakx.net
Wed Sep 5 15:46:51 CEST 2012
Hello.
That is my method:
public function findAllWithoutCategory() {
$query = $this->createQuery();
return $query->matching($query->isEmpty('category'))
->setOrderings(array('name' =>
\TYPO3\FLOW3\Persistence\QueryInterface::
ORDER_ASCENDING))
->execute();
}
I want to fetch all rows who has an empty entry in the column
`category`.
What is wrong ?
More information about the FLOW3-general
mailing list