public function add(SQLInterface $sql)
    {
        $this->raw[] = $sql->toString();
        if (!$sql->getId()) {
            $sql->setId($this->count() + 1);
        }

        $sql->setInitializer($this->initial);
        $this->append($sql);
    }
public function add(SQLInterface $sql)
    {
        $this->raw[] = $sql->toString();
        if (!$sql->getId()) {
            $sql->setId($this->count() + 1);
        }

        $sql->setInitializer($this->initial);
        $this->append($sql);
    }
public function add ( SQLInterface $ sql ) { $ this -> raw [ ] = $ sql -> toString ( ) ; if ( ! $ sql -> getId ( ) ) { $ sql -> setId ( $ this -> count ( ) + 1 ) ; } $ sql -> setInitializer ( $ this -> initial ) ; $ this -> append ( $ sql ) ; }
Append SQL Object.

@param \Realboard\Component\Database\DBInstance\DBInterface\SQLInterface $sql
Append SQL Object .