Skip to content
This repository
Browse code

Update reference in docs from :Contains to :PartialMatch

  • Loading branch information...
commit f507a517e1437f4c479a1471a84b25dfe4e335b6 1 parent ad52b8c
Will Rossiter authored July 11, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/en/topics/datamodel.md
2  docs/en/topics/datamodel.md
Source Rendered
@@ -204,7 +204,7 @@ will return all members whose first name or surname contain the string 'sam'.
204 204
 
205 205
 	:::php
206 206
 	$members = Member::get()->filter(array(
207  
-		'FirstName,Surname:Contains' => 'sam'
  207
+		'FirstName,Surname:PartialMatch' => 'sam'
208 208
 	));
209 209
 
210 210
 If you wish to match against any of a number of values, you can pass an array as the value.  This will return all 

0 notes on commit f507a51

Please sign in to comment.
Something went wrong with that request. Please try again.