cakephp/docs — pull request #120 by jocull (2011-11-04 23:17:04+00:00)
Title: Virtual fields in direct SQL queries

Adding section about using virtual fields in direct SQL queries after running into this issue today:

http://stackoverflow.com/questions/8015845/cakephp-2-0-naming-mysql-aggregate-functions-in-query