I've just had half an hour flicking through docs and source and figured it 
would be easier to ask:

I'm working with JSON in a project at the moment and everything is going 
fine. At some point I realised a lot of the expected integer values were 
actually strings (not a problem as it wasn't hard to do some frontend 
casting where needed.) And at that point, I realised that functions like 
mysql_fetch* return strings and, therefore, DB functions in CakePHP.

I'm pretty sure the CakePHP doesn't want the overhead of casting a result 
set for one DB type on each read operation so I'm curious to know if:

1) there are other data sources that return accurate types on read
2) there's an existing behavior/helper that does casting that I can go and 
extend
3) I'm smoking crack and I've gone and over configured something and I've 
just written 3 paragraphs of guff
4) there's a really obvious piece of config that I've missed

-- 
Connrs

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to