Exclude object from result

@param   ChildLoginLog $loginLog Object to remove from the list of results

@return $this|ChildLoginLogQuery The current query, for fluid interface
505688
public function prune($loginLog = null)
    {
        if ($loginLog) {
            $this->addUsingAlias(LoginLogTableMap::COL_ID, $loginLog->getId(), Criteria::NOT_EQUAL);
        }

        return $this;
    }
1288659
public function allowLogs($flag = true)
    {
        $this->allowLogs = (bool) $flag;
        
        if (true === $flag) {
            $this->init();
        }
        
        return $this;
    }
1165370
public function deleteGrant($counterId, $userLogin)
    {
        $resource = 'counter/' . $counterId . '/grant/' . $userLogin;
        $response = $this->sendDeleteRequest($resource);
        return $response;
    }
49167
protected function disableLogging()
    {
        $config = $this->entityManager->getConnection()->getConfiguration();
        $this->originalLogger = $config->getSQLLogger();
        $config->setSQLLogger(null);
    }
2114
public function removeLoggerByInstance($logger, $trigger = true) {
        foreach ($this->loggers as $key => $addedLogger) {
            if ($addedLogger[0] === $logger) {
                unset($this->loggers[$key]);
                return $this;
            }
        }

        if ($trigger) {
            $class = get_class($logger);
            trigger_error("Logger $class was removed without being added.");
        }

        return $this;
    }
1047700
final function removePlayerFromPlayerList($login)
	{
		Windows\PlayerList::Erase($login);
		$playerLists = Windows\PlayerList::GetAll();
		foreach($playerLists as $playerList)
		{
			$playerList->removePlayer($login);
		}
		Windows\PlayerList::RedrawAll();
	}
930873
public function getSimilarLogsQueryBuilder(Log $log)
    {
        return $this->createQueryBuilder()
                    ->select('l.id, l.channel, l.level, l.level_name, l.message, l.datetime')
                    ->from($this->tableName, 'l')
                    ->andWhere('l.message = :message')
                    ->andWhere('l.channel = :channel')
                    ->andWhere('l.level = :level')
                    ->andWhere('l.id != :id')
                    ->setParameter(':message', $log->getMessage())
                    ->setParameter(':channel', $log->getChannel())
                    ->setParameter(':level', $log->getLevel())
                    ->setParameter(':id', $log->getId());
    }
693179
public static function delete_linked_login($linkedloginid) {
        $login = new linked_login($linkedloginid);
        $userid = $login->get('userid');

        if (\core\session\manager::is_loggedinas()) {
            throw new moodle_exception('notwhileloggedinas', 'auth_oauth2');
        }

        $context = context_user::instance($userid);
        require_capability('auth/oauth2:managelinkedlogins', $context);

        $login->delete();
    }
969780
public function prune($apiLog = null)
    {
        if ($apiLog) {
            $this->addUsingAlias(ApiLogPeer::ID, $apiLog->getId(), Criteria::NOT_EQUAL);
        }

        return $this;
    }
145229
public function removeChild(LeafInterface $child)
    {

        $idx = array_search($child, $this->children, true);

        if ($idx !== false) {

            array_splice($this->children, $idx, 1);
            $child->setParent(null);
        }

        return $this;
    }
499058
public function deleteFromLogin( $login){
        $rest = $this->getService( self::API_VPN_USER . $login);
        $rest->DELETE();

        return $rest->getSuccess();
    }
898356
public function deleteFileByFileLog(FileLog $log)
    {
        $id = $log->model_id;

        $fileAttrName = $this->getFileAttrName();

        $model = $this->getById($id);
        $model = (new CrudeFiles)->delete($model, $log, $fileAttrName);

        return $this->updateById($id, [$fileAttrName => $model->files]);
    }
1325808
public function removeLogFile()
    {
        if (file_exists($this->log_path)) {
            $this->logger = null;
            unlink($this->log_path);
        }
        
        return $this;
    }
209937
public function removeChild($Child)
	{
		$index = array_search($Child, $this->children);
		if($index!==false)
		{
			$tmp = $this->children[$index];
			if(isset($tmp->id))
				unset($this->id2index[$tmp->id]);
			if(isset($tmp->name))
				unset($this->name2index[$tmp->name]);
			unset($this->children[$index]);
			return $tmp;
		}
		return null;
	}
158585
function(query, mongooseQuery, logger) {
    if (query.$exclude) {
      if (!Array.isArray(query.$exclude)) {
        query.$exclude = query.$exclude.split(',')
      }

      mongooseQuery.where({ _id: { $nin: query.$exclude } })
      delete query.$exclude
    }
    return mongooseQuery
  }
835842
public function remove(Log $log)
    {
        unset($this->logs[spl_object_hash($log)]);
        $this->level = null;
    }
1210235
public function filter(&$logs)
	{
		if (!empty($logs))
		{
			if(($message=$this->getContext())!=='')
				array_unshift($logs,array($message,CLogger::LEVEL_INFO,'application',YII_BEGIN_TIME));
			$this->format($logs);
		}
		return $logs;
	}