From 9e34a989a86dfa450cf68bf8d8d37cc7626d72e2 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 16 Oct 2012 15:07:47 +0200 Subject: [PATCH] Removed wrong datamodel docs See https://groups.google.com/forum/?hl=en&fromgroups=#!topic/silverstripe-dev/Leh8fN0MjDY --- docs/en/topics/datamodel.md | 9 --------- 1 file changed, 9 deletions(-) diff --git a/docs/en/topics/datamodel.md b/docs/en/topics/datamodel.md index df919042f..ed0dfee90 100755 --- a/docs/en/topics/datamodel.md +++ b/docs/en/topics/datamodel.md @@ -221,15 +221,6 @@ since 1/1/2011. 'LastVisited:GreaterThan' => '2011-01-01' )); -If you wish to match against any of a number of columns, you can list several field names, separated by commas. -This will return all members whose first name or surname contain the string 'sam'. - - :::php - $members = Member::get()->filter(array( - 'FirstName,Surname:PartialMatch' => 'sam' - )); - - ### Subtract You can subtract entries from a DataList by passing in another DataList to `subtract()`