Hi there,

sorry for the late response. I thought I will get a email if someone
responds.

Thanks for your help so far but that is not solving my problems...

What I would like to do is:

- read all fields from my database Table
- display all Integers as Integers and all booleans as booleans (yes/
no).

I know of course what field is a boolean and what field isn't but I
have a few hundred fields in my database and I would like to auto-
generate the Views. My idea is to implement the afterFind() method in
my models and convert all tinyint(1) into booleans. Is there a cake
way to determine the type of a database field?

--~--~---------~--~----~------------~-------~--~----~
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