On Tue, Mar 15, 2011 at 8:05 PM, dreamingmind <dreamingmin...@gmail.com> wrote: > Perhaps the fields involved in assembly of the virtualField need to be > in the field list for the find.
No, that's not the case. Given a table with columns id, first_name, last_name we can do: SELECT id, CONCAT(first_name, ' ', last_name) AS full_name FROM users; We don't need to do: SELECT id, first_name, last_name, CONCAT(first_name, ' ', last_name) AS full_name FROM users; -- 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 cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php