改名
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Database\Condition;
|
||||
|
||||
/**
|
||||
* Class NotInCondition
|
||||
* @package Database\Condition
|
||||
*/
|
||||
class NotInCondition extends Condition
|
||||
{
|
||||
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function builder()
|
||||
{
|
||||
|
||||
$format = array_filter($this->format($this->value));
|
||||
if (empty($format)) {
|
||||
return '';
|
||||
}
|
||||
|
||||
return '`' . $this->column . '` not in(' . implode(',', $format) . ')';
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user