[TYPO3-mvc] Passing empty array to query->equals

Thomas Heilmann heilmann at mindscreen.de
Wed Feb 3 10:47:19 CET 2010


Hi,

with revision 1587 support for arrays as query variables has been
implemented (which is great). At the moment, passing an empty array to
the equals method results in a sql exception. I would suggest to add a
check if the array is empty before creating the sql query. Do you think
it would be better to throw an exception or to create a well formed sql
query that returns zero rows?

Regards,
Thomas


More information about the TYPO3-project-typo3v4mvc mailing list