mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 14:18:46 +02:00
Removed wrong datamodel docs
See https://groups.google.com/forum/?hl=en&fromgroups=#!topic/silverstripe-dev/Leh8fN0MjDY
This commit is contained in:
parent
be8ab2ef56
commit
9e34a989a8
@ -221,15 +221,6 @@ since 1/1/2011.
|
|||||||
'LastVisited:GreaterThan' => '2011-01-01'
|
'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
|
### Subtract
|
||||||
|
|
||||||
You can subtract entries from a DataList by passing in another DataList to `subtract()`
|
You can subtract entries from a DataList by passing in another DataList to `subtract()`
|
||||||
|
Loading…
Reference in New Issue
Block a user