code: protected function replaceWildcards($arrValues)
  	{
  		$arrValues = $this->escapeParams($arrValues);
  		$this->strQuery = preg_replace('/(?<!%)%([^bcdufosxX%])/', '%%$1', $this->strQuery);
  
  		// Replace wildcards
  		if (!$this->strQuery = @vsprintf($this->strQuery, $arrValues))
  		{
  			throw new \Exception('Too few arguments to build the query string');
  		}
  	}
docs: Replace the wildcards in the query string
  
  @param array $arrValues The values array
  
  @throws \Exception If $arrValues has too few values to replace the wildcards in the query string