diff --git a/cake/libs/set.php b/cake/libs/set.php index f7fc08be7..82218206d 100644 --- a/cake/libs/set.php +++ b/cake/libs/set.php @@ -369,6 +369,7 @@ class Set extends Object { * - /User[id>2][<5] (selects all Users with an id > 2 but < 5) * - /Post/Comment[author_name=john]/../name (Selects the name of all Posts that have at least one Comment written by john) * - /Posts[title] (Selects all Posts that have a 'name' key) + * - /Comment/.[1] (Selects the contents of the first comment) * * Other limitations: * - Only absolute paths starting with a single '/' are supported right now