| @@ 351-359 (lines=9) @@ | ||
| 348 | /** |
|
| 349 | * {@inheritdoc} |
|
| 350 | */ |
|
| 351 | protected function whereIn(Builder $query, $where) |
|
| 352 | { |
|
| 353 | if (!empty($where['values'])) { |
|
| 354 | $column = $this->wrapColumn($where['column'], $query->from); |
|
| 355 | return '['.implode(',', $where['values']).'] ANY == '.$column; |
|
| 356 | } |
|
| 357 | ||
| 358 | return '0 = 1'; |
|
| 359 | } |
|
| 360 | ||
| 361 | /** |
|
| 362 | * {@inheritdoc} |
|
| @@ 364-372 (lines=9) @@ | ||
| 361 | /** |
|
| 362 | * {@inheritdoc} |
|
| 363 | */ |
|
| 364 | protected function whereNotIn(Builder $query, $where) |
|
| 365 | { |
|
| 366 | if (!empty($where['values'])) { |
|
| 367 | $column = $this->wrapColumn($where['table'], $where['column']); |
|
| 368 | return '['.implode(',', $where['values']).'] NONE == '.$column; |
|
| 369 | } |
|
| 370 | ||
| 371 | return '0 = 1'; |
|
| 372 | } |
|
| 373 | ||
| 374 | /** |
|
| 375 | * {@inheritdoc} |
|