My guess knowing nothing is they are different to help people coming from different DB engines to use what they are used to
Sam D On Tue, May 13, 2008 at 12:10 PM, jonknee <[EMAIL PROTECTED]> wrote: > > > Out of curiosity what is Model::getLastInsertID() and > > Model::getInsertID() normally used for and is there a difference. The > > API has the same description for both methods. > > There is no difference. Model:getLastInsertID() simply returns > Model:getInsertID(). As to why they are both there, no idea. > > > > > -- -- (the old fart) the advice is free, the lack of crankiness will cost you - its a fine line between a real question and an idiot http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/ http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/ http://blog.samdevore.com/cakephp-pages/i-cant-bake/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
