===
Sent from my AT&T Rotary Phone
http://blog.samdevore.com


On Apr 14, 2008, at 3:01 PM, Defranco <[EMAIL PROTECTED]> wrote:

>
> On 14 abr, 18:48, Stephen Orr <[EMAIL PROTECTED]> wrote:
>> MySQL specifically disallows an ID of 0. I've tested this manually by
>> inserting a test row with an ID of 0 into an auto_incremented column.
>> It ignores it, and gives it an ID of 1 instead.
>
> Ok,
>
> I agree with you regarding numeric PKs.
>
> But what about non numeric primary keys like I told?
>
>> Cake will allow id = '00' and will allow id = '000' but will not  
>> allow update on id = '0'
>
> I know that most people here don't use non numeric keys and may not
> agree with it use, but as I know cakephp supports non numeric primary
> key, but do not support id='0' and MySQL does.
>
>
>
> >

--~--~---------~--~----~------------~-------~--~----~
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