Update reference in docs from :Contains to :PartialMatch

This commit is contained in:
Will Rossiter 2012-07-11 19:18:27 +12:00
parent ad52b8cfd2
commit f507a517e1

View File

@ -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