$sqlConditions="myfield IS NULL"

and that's all.

Sergei.

On 30 апр, 10:03, codecowboy <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Does anyone know how to check if a value is null when using the model-
>
> >find($sqlConditions, ., ., .) function?
>
> I know that sql syntax is :
>
>  select * from users where fieldname is NULL


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to