Skip to content

Commit

Permalink
Merge pull request cakephp#1407 from rbecheras/patch-4
Browse files Browse the repository at this point in the history
Fixes a syntax error
  • Loading branch information
markstory committed Jun 5, 2014
2 parents 54a842b + 3458ba9 commit 5313b61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion en/models/virtual-fields.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ would be::
And with PostgreSQL::

public $virtualFields = array(
'name' => "User.first_name || ' ' || User.last_name"
'name' => "User.first_name || \' \' || User.last_name"
);

In subsequent find operations, your User results would contain a
Expand Down

0 comments on commit 5313b61

Please sign in to comment.