Skip to content

Commit

Permalink
Update reference in docs from :Contains to :PartialMatch
Browse files Browse the repository at this point in the history
  • Loading branch information
wilr committed Jul 11, 2012
1 parent ad52b8c commit f507a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/en/topics/datamodel.md
Expand Up @@ -204,7 +204,7 @@ will return all members whose first name or surname contain the string 'sam'.

:::php
$members = Member::get()->filter(array(
'FirstName,Surname:Contains' => 'sam'
'FirstName,Surname:PartialMatch' => 'sam'
));

If you wish to match against any of a number of values, you can pass an array as the value. This will return all
Expand Down

0 comments on commit f507a51

Please sign in to comment.