Closed solleer closed 8 years ago
Is there a way to be able to use the filter function to get a single entry without using an id or a for loop.
This is possible using $mapper->filter(['field' => 'value')->limit(1)->item(0);
$mapper->filter(['field' => 'value')->limit(1)->item(0);
Added it to wiki
Is there a way to be able to use the filter function to get a single entry without using an id or a for loop.