| @@ 152-160 (lines=9) @@ | ||
| 149 | } |
|
| 150 | } |
|
| 151 | ||
| 152 | if (! empty($post['wheres']['lessthan'])) { |
|
| 153 | foreach ($post['wheres']['lessthan'] as $key => $value) { |
|
| 154 | $queryObject->addWhere([ |
|
| 155 | 'col' => $key, |
|
| 156 | 'op' => '<', |
|
| 157 | 'value' => $value |
|
| 158 | ]); |
|
| 159 | } |
|
| 160 | } |
|
| 161 | ||
| 162 | if (! empty($post['wheres']['morethan'])) { |
|
| 163 | foreach ($post['wheres']['morethan'] as $key => $value) { |
|
| @@ 162-170 (lines=9) @@ | ||
| 159 | } |
|
| 160 | } |
|
| 161 | ||
| 162 | if (! empty($post['wheres']['morethan'])) { |
|
| 163 | foreach ($post['wheres']['morethan'] as $key => $value) { |
|
| 164 | $queryObject->addWhere([ |
|
| 165 | 'col' => $key, |
|
| 166 | 'op' => '>', |
|
| 167 | 'value' => $value |
|
| 168 | ]); |
|
| 169 | } |
|
| 170 | } |
|
| 171 | } |
|
| 172 | ||
| 173 | if (! empty($post['whereIns'])) { |
|