code: public static function query($queryString, array $queryParams = [], $dbName = "master", $fetchResults = true)
  	{
  		// Prepare query
  		$query = static::instance($dbName)->prepare($queryString);
  		foreach ($queryParams as $column => $val) $query->bindValue(is_int($column) ? $column + 1 : ":".$column, $val);
  
  		// Execute
  		if ($query->execute())
  			return $fetchResults ?
  			$query->fetchAll(PDO::FETCH_ASSOC) :
  			$query->rowCount();
  		
  		return false;
  	}
docs: Perform a generic query statement
  
  @param string	$queryString	query string
  @param array		$queryParams	query parameters
  @param string	$dbName			name of the db configuration (default master)
  @param bool		$fetchResults	if true (defaul behaviour) return query results, otherwise just true/false
  
  @return array|bool|int return query results or number of rows affected or false if fails