Hi,

Currently find('all') will return an array that is indexed by integers
in the order of how the records were retrieved.
Is there any way that I can make find() return an array that is, for
example, indexed by the primary key of the data that is being
retrieved?

I need to access that like this quite often. Of course I could use
Set::combine() to get the data into the desired order but it would be
a lot easier to program and better for performance if that option
could be set.
Is that possible somehow?

thanks,
Marc
--~--~---------~--~----~------------~-------~--~----~
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