[TYPO3-mvc] Let Extbase Query check for NULL in database field
Martin Kutschker
masi-no at spam-typo3.org
Tue Jan 19 10:40:48 CET 2010
David Schreiber schrieb:
>
> So, is there anyway to check for NULL? Because when matching for
> column = 0 it also returns my row containing NULL.
In SQL you must use "column IS NULL" to find the rows you want. Otherwise you may run into tye
casting issues (as in PHP with 0 == '' and 0 == NULL and 0 == FALSE, but not with ===).
Masi
More information about the TYPO3-project-typo3v4mvc
mailing list