[TYPO3-mvc] compare 2 properties in query

Philipp Wrann philippwrann at gmail.com
Wed Feb 26 12:11:27 CET 2014


Hey,

is it possible to do something like

$query->matching($query->lessThan('processed','tstamp'))->execute();

is should result in select * from model where processed < tstamp;

At the moment i see 2 possibilities
1) add a boolean property and update it
2) direct sql


More information about the TYPO3-project-typo3v4mvc mailing list