Model/ResourceModel/Contact.php
public function updateSubscribers($emailContactIds)
    {
        if (empty($emailContactIds)) {
            return 0;
        }
        $write = $this->getConnection();
        //update subscribers imported
        $updated = $write->update(
            $this->getMainTable(),
            ['subscriber_imported' => 1],
            ["email_contact_id IN (?)" => $emailContactIds]
        );

        return $updated;
    }
public function updateSubscribers($emailContactIds)
    {
        if (empty($emailContactIds)) {
            return 0;
        }
        $write = $this->getConnection();
        //update subscribers imported
        $updated = $write->update(
            $this->getMainTable(),
            ['subscriber_imported' => 1],
            ["email_contact_id IN (?)" => $emailContactIds]
        );

        return $updated;
    }
public function updateSubscribers ( $ emailContactIds ) { if ( empty ( $ emailContactIds ) ) { return 0 ; } $ write = $ this -> getConnection ( ) ; //update subscribers imported $ updated = $ write -> update ( $ this -> getMainTable ( ) , [ 'subscriber_imported' => 1 ] , [ "email_contact_id IN (?)" => $ emailContactIds ] ) ; return $ updated ; }
Update subscriber imported.

@param array $emailContactIds
@return int
Update subscriber imported .