public static function getLastQuery($connection = "")
	{
		$last_query = "";
		$pretty_queries = self::getPrettyQueryLog($connection);

		if (!empty($pretty_queries)) {
			$last_query = $pretty_queries[ count($pretty_queries) - 1 ];
		}

		return $last_query;
	}