Model::hasField('mySpecialField') - but you should restrict models
cache for your case or this call will check cached schema.

On Jun 9, 4:26 am, Henrik Gemal <[email protected]> wrote:
> I'm accessing databases stored on difference computers. Everything
> works just fine now since all the databases have the same columns on
> the different computers. So no problem now.
>
> But we need to upgrade the databases. This we cant do all at once, so
> we will be running with different databse for many days perhaps
> months.
>
> Now I have a problem since I need to do some funky work in my CakePHP
> application.
>
> I need to find out if a specific column exist to detect if the
> database I access is a updated one or not.
>
> Can this be done?
--~--~---------~--~----~------------~-------~--~----~
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