[TYPO3-mvc] $query->like raises exception
Steffen Ritter
info at rs-websystems.de
Tue Feb 23 13:28:06 CET 2010
Jochen Rau schrieb:
> 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
currently not, as soon as I use $query-> like matching the exception is
thrown
More information about the TYPO3-project-typo3v4mvc
mailing list