[TYPO3-mvc] $query->like raises exception

Jochen Rau jochen.rau at typoplanet.de
Tue Feb 23 12:58:11 CET 2010


Hi Steffen.

On 23.02.10 12:41, Steffen Ritter wrote:
> Hey folks,
> I'm just trying a simple query->like('myProperty',);
>
> and this results in the following exception:
> #1217241834: Invalid variable name "title4b83bf2b24b2a" given to bindValue.
>
> How to debug this?
> Does anyone know the reason?

Doesn't this work for you?

$objects = $query->matching($query->like('myProperty', 'test%'))->execute();

Regards
Jochen


More information about the TYPO3-project-typo3v4mvc mailing list