Virtual fields which is described at 
http://book.cakephp.org/view/1608/Virtual-fields
This makes the code depends on the database. For example this piece of
code would only work for MySQL

var $virtualFields = array(
    'full_name' => 'CONCAT(User.first_name, " ", User.last_name)'
);

I'm looking for a more database agnostic approach. The reason is I'm
still not sure what database I'll be using in production so I want to
keep my code as much database agnostic as possible.

Any suggestions?


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

Reply via email to