How to disable square brackets around MATCH function in graph tables?
When formatting graph table query, the MATCH clause gets wrapped in square brackets. For example:
-- Find Restaurants that John likes
FROM [Person], [likes], [Restaurant]
WHERE [MATCH] ([Person]-([likes])->[Restaurant])
AND [Person].[name] = 'John';
The MATCH shold not be quoted in square brackets.
Also the formatting does not like the > character as can be seen in the attached screenshot.
It seems SQL Prompt does not like formatting graph database query. More info on graph query can be found here: https://docs.microsoft.com/en-us/sql/relational-databases/graphs/sql-graph-sample?view=sql-server-ver15