public static function query($pattern, $data = null, $fetch = null, $prefix = null)
    {
        return self::getInstance()->__invoke($pattern, $data, $fetch, $prefix);
    }
public static function query($pattern, $data = null, $fetch = null, $prefix = null)
    {
        return self::getInstance()->__invoke($pattern, $data, $fetch, $prefix);
    }
public static function query ( $ pattern , $ data = null , $ fetch = null , $ prefix = null ) { return self :: getInstance ( ) -> __invoke ( $ pattern , $ data , $ fetch , $ prefix ) ; }
A query to the main database of the main storage

@param string $pattern
@param array $data [optional]
@param string $fetch [optional]
@param string $prefix [optional]
@return \go\DB\Result
@throws \go\DB\Exceptions\StorageDBCentral
main storage is not exists
@throws \go\DB\Exceptions\Connect
@throws \go\DB\Exceptions\Closed
@throws \go\DB\Exceptions\Templater
@throws \go\DB\Exceptions\Query
@throws \go\DB\Exceptions\Fetch
A query to the main database of the main storage