| @@ 170-178 (lines=9) @@ | ||
| 167 | } |
|
| 168 | } |
|
| 169 | ||
| 170 | if (! empty($post['wheres']['lessthan'])) { |
|
| 171 | foreach ($post['wheres']['lessthan'] as $key => $value) { |
|
| 172 | $queryObject->addWhere([ |
|
| 173 | 'col' => $key, |
|
| 174 | 'op' => '<', |
|
| 175 | 'value' => $value |
|
| 176 | ]); |
|
| 177 | } |
|
| 178 | } |
|
| 179 | ||
| 180 | if (! empty($post['wheres']['morethan'])) { |
|
| 181 | foreach ($post['wheres']['morethan'] as $key => $value) { |
|
| @@ 180-188 (lines=9) @@ | ||
| 177 | } |
|
| 178 | } |
|
| 179 | ||
| 180 | if (! empty($post['wheres']['morethan'])) { |
|
| 181 | foreach ($post['wheres']['morethan'] as $key => $value) { |
|
| 182 | $queryObject->addWhere([ |
|
| 183 | 'col' => $key, |
|
| 184 | 'op' => '>', |
|
| 185 | 'value' => $value |
|
| 186 | ]); |
|
| 187 | } |
|
| 188 | } |
|
| 189 | } |
|
| 190 | ||
| 191 | if (! empty($post['whereIns'])) { |
|