Skip to main content
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Can anyone confirm me that it is possible to do multiple PartialMatch in a single request (i'm using SS 3.1.2)?
$request = mydatabase::get()->filter(array(
'type:PartialMatch' => "one",
'type:PartialMatch' => "two"));
For me only the last PartialMatch, so"two", is filtered. The first one is omited.
My goal is to filter the data which contain both"one" and "two".
try row sql
mydatabase::get()->where("\"type\" = '%one%' or \"type\" = '%two%' ");