The structure is currently a int(11) which can also be NULL.

The command I am using is this.

$results = $this->paginate('Location', array('Location.confirmed_id' =>
'null');


but that doesnt seem to want to return anything. I understand that it isnt
actually a the string "null" but I am unsure how to get it to return all the
records that have a null in the confirmed_id.

~Michael

On Wed, Sep 1, 2010 at 8:46 AM, Jeremy Burns | Class Outfit <
[email protected]> wrote:

> What is the data type of the field? What is your full find statement at the
> moment?
>
> Jeremy Burns
> *Class Outfit*
> *
> *
> [email protected] <[email protected]>
> http://www.classoutfit.com
>
> On 1 Sep 2010, at 16:43, Michael Gaiser wrote:
>
> I am trying to limit my search to all the records that do not have a
> confirmed_id assigned to them. How do you set that condition up? I have
> tried ' ', None, NONE, NULL, null and many others and nothing seems to work.
> Any suggestions?
>
> ~Michael
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" 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
>
>
>  Check out the new CakePHP Questions site http://cakeqs.org and help
> others with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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