src/ORM/Queries/SQLAssignmentRow.php
public function addAssignments(array $assignments)
    {
        $assignments = $this->normaliseAssignments($assignments);
        $this->assignments = array_merge($this->assignments, $assignments);
        return $this;
    }
public function addAssignments(array $assignments)
    {
        $assignments = $this->normaliseAssignments($assignments);
        $this->assignments = array_merge($this->assignments, $assignments);
        return $this;
    }
public function addAssignments ( array $ assignments ) { $ assignments = $ this -> normaliseAssignments ( $ assignments ) ; $ this -> assignments = array_merge ( $ this -> assignments , $ assignments ) ; return $ this ; }
Adds assignments for a list of several fields

Note that field values must not be escaped, as these will be internally
parameterised by the database engine.

<code>

// Basic assignments
$query->addAssignments(array(
'"Object"."Title"' => 'Bob',
'"Object"."Description"' => 'Bob was here'
))

// Parameterised assignments
$query->addAssignments(array(
'"Object"."Title"' => array('?' => 'Bob')),
'"Object"."Description"' => array('?' => null))
))

// Complex parameters
$query->addAssignments(array(
'"Object"."Score"' => array('MAX(?,?)' => array(1, 3))
));

// Assigment of literal SQL for a field. The empty array is
// important to denote the zero-number paramater list
$query->addAssignments(array(
'"Object"."Score"' => array('NOW()' => array())
));

</code>

@param array $assignments The list of fields to assign
@return $this The self reference to this row
Adds assignments for a list of several fields