core-bundle/src/Resources/contao/library/Contao/Database/Statement.php
public function execute()
	{
		$arrParams = \func_get_args();

		if (!empty($arrParams) && \is_array($arrParams[0]))
		{
			$arrParams = array_values($arrParams[0]);
		}

		$this->replaceWildcards($arrParams);

		return $this->query();
	}
public function execute()
	{
		$arrParams = \func_get_args();

		if (!empty($arrParams) && \is_array($arrParams[0]))
		{
			$arrParams = array_values($arrParams[0]);
		}

		$this->replaceWildcards($arrParams);

		return $this->query();
	}
Execute the query and return the result object

@return Result The result object