protected function performQuery($query, $many)
	{
		$this->applyCriteria($query);

		if ($many === false) {
			$result = $this->getRegularQueryResults($query, false);

			if (!$result && $this->throwExceptions === true) {
				throw $this->getNotFoundException($query);
			}

			return $result;
		}

		return $this->paginate === false ?
			$this->getRegularQueryResults($query, true) :
			$this->getPaginatedQueryResults($query);
	}