mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update reference in docs from :Contains to :PartialMatch
This commit is contained in:
parent
ad52b8cfd2
commit
f507a517e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user