Closed solleer closed 7 years ago
If you have this data id name type 1 Test1 A 2 Test2 A 3 Test3 B
And have a maphper for it then do this
$maphper->filter(['type' => 'a']);
The following returns the Test3 row despite it not matching the filter
Test3
$maphper[3]
Is there a way to have accessing the primary key to take into account the filter
If you have this data id name type 1 Test1 A 2 Test2 A 3 Test3 B
And have a maphper for it then do this
The following returns the
Test3
row despite it not matching the filterIs there a way to have accessing the primary key to take into account the filter