columns(['id']); $result = $select->execute(); while ($map = $result->fetch(IResultSet::FETCH_ASSOC)) { $modify = new Modify(\Container::$dbConnection, 'users'); $modify->setId($map['id']); $modify->set('active', true); $modify->save(); }