public function getDatabaseName()
	{
		$dsn = $this->result->connection->getDsn();
		$matches = [];
		if (preg_match('~\b(database|dbname)=(.*?)(;|$)~', $dsn, $matches))
		{
			return $matches[2];
		}
		return NULL;
	}
public function getDatabaseName()
	{
		$dsn = $this->result->connection->getDsn();
		$matches = [];
		if (preg_match('~\b(database|dbname)=(.*?)(;|$)~', $dsn, $matches))
		{
			return $matches[2];
		}
		return NULL;
	}
public function getDatabaseName ( ) { $ dsn = $ this -> result -> connection -> getDsn ( ) ; $ matches = [ ] ; if ( preg_match ( '~\b(database|dbname)=(.*?)(;|$)~' , $ dsn , $ matches ) ) { return $ matches [ 2 ] ; } return NULL ; }
Database name, fulltext index or similar, NULL if not applicable

@return NULL|string
Database name fulltext index or similar NULL if not applicable