public function updateInsertQuery($insert)
    {
        if ($this->relation) {
            $insert = $this->relation->dsql;
        }

        $insert->set(
            $this->actual_field ?: $this->short_name,
            $this->getSQL()
        );

        return $this;
    }
public function updateInsertQuery($insert)
    {
        if ($this->relation) {
            $insert = $this->relation->dsql;
        }

        $insert->set(
            $this->actual_field ?: $this->short_name,
            $this->getSQL()
        );

        return $this;
    }
public function updateInsertQuery ( $ insert ) { if ( $ this -> relation ) { $ insert = $ this -> relation -> dsql ; } $ insert -> set ( $ this -> actual_field ? : $ this -> short_name , $ this -> getSQL ( ) ) ; return $ this ; }
Modify insert query to set value of this field.

@param DB_dsql $insert

@return $this
Modify insert query to set value of this field .