Angejia\Pea\QueryBuilder::delete PHP 메소드

delete() 공개 메소드

public delete ( $id = null )
    public function delete($id = null)
    {
        if ($this->needFlushCache()) {
            // 清空表级缓存
            $meta = $this->getMeta();
            $meta->flush($this->db(), $this->model->table());
            $this->flushAffectingRowCache();
        }
        return parent::delete($id);
    }