I wrote my cake site in Mysql but have to now use Postgres instead but
am having problems with the format of the returned arrays from find().

Is there a work around for this? All my finds() work with mysql but
the returned arrays aren't working with Postgres because it returns
the result as an index (numbered) array instead of by the model name.

e.g.   $data[0][California]                <- in Postgres
         $data[Account][California]     <- in Mysql

Throughout my codebase I access the return array for the way Mysql
formats the return array from the find function.

I hope I explained my dilemna correctly. Any help would be greatly
appreciated.

Cheers,

Adam

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to