Well I'm still using Cake version 1.1 so I can't used findfirst().

I'm just using find().



On Thu, Apr 15, 2010 at 8:46 AM, John Andersen <j.andersen...@gmail.com>wrote:

> How do your find code look like? Are you using All or First?
> Enjoy,
>    John
>
> On Apr 15, 7:30 am, Adam <localmotion...@gmail.com> wrote:
> > When I do a find and get 1 row back in Postgres it has to be
> > referenced like $data[0][email] whereas in Mysql you can do
> > $data[Account][email].
> >
> > I just migrated from Mysql to Postgres so I just have to go thru and
> > change all single result queries that formerly worked in Mysql as
> > $data[Account][email] to $data[0][email] in Postgres.
> >
> > Or is there something I'm doing wrong here?
>
> 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 cake-php@googlegroups.com
> To unsubscribe from this group, send email to
> cake-php+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>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.
>

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to