This commit is contained in:
foobar
2022-08-21 21:39:06 +02:00
commit 27c1969aaa
7354 changed files with 897064 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace App\Filters;
use App\Filters\ApiFilter;
class CityFilter extends ApiFilter {
protected $safeParms = [
'locationName' => ['eq'],
'locationCountry' => ['eq'],
'id' => ['eq']
];
protected $columnMap = [
'locationName' => 'location_name',
'locationCountry' => 'location_country'
];
protected $operatorMap = [
'eq' => '=',
'lt' => '<',
'lte' => '<=',
'gt' => '>',
'gte' => '>=',
];
}