protected function saveSimpleColumn($strColumn, $arrIds, $varData)
    {
        if (is_array($varData)) {
            $varData = serialize($varData);
        }

        $builder = $this->getConnection()->createQueryBuilder();

        $builder
            ->update($this->getTableName(), 'v2')
            ->set('v2.' . $strColumn, is_array($varData) ? serialize($varData) : $varData)
            ->where($builder->expr()->in('v2.id', ':ids'))
            ->setParameter('ids', $arrIds, Connection::PARAM_STR_ARRAY)
            ->execute();
    }
protected function saveSimpleColumn($strColumn, $arrIds, $varData)
    {
        if (is_array($varData)) {
            $varData = serialize($varData);
        }

        $builder = $this->getConnection()->createQueryBuilder();

        $builder
            ->update($this->getTableName(), 'v2')
            ->set('v2.' . $strColumn, is_array($varData) ? serialize($varData) : $varData)
            ->where($builder->expr()->in('v2.id', ':ids'))
            ->setParameter('ids', $arrIds, Connection::PARAM_STR_ARRAY)
            ->execute();
    }
protected function saveSimpleColumn ( $ strColumn , $ arrIds , $ varData ) { if ( is_array ( $ varData ) ) { $ varData = serialize ( $ varData ) ; } $ builder = $ this -> getConnection ( ) -> createQueryBuilder ( ) ; $ builder -> update ( $ this -> getTableName ( ) , 'v2' ) -> set ( 'v2.' . $ strColumn , is_array ( $ varData ) ? serialize ( $ varData ) : $ varData ) -> where ( $ builder -> expr ( ) -> in ( 'v2.id' , ':ids' ) ) -> setParameter ( 'ids' , $ arrIds , Connection :: PARAM_STR_ARRAY ) -> execute ( ) ; }
Update the value of a native column for the given ids with the given data.

@param string $strColumn The column name to update (i.e. tstamp).

@param array  $arrIds    The ids of the rows that shall be updated.

@param mixed  $varData   The data to save. If this is an array, it is automatically serialized.

@return void
Update the value of a native column for the given ids with the given data .