Skip to content

Commit 1b154e6

Browse files
committed
New demo highlights bug in parser.
1 parent d95817b commit 1b154e6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

demo.sql

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,14 @@ SELECT friendship.*, l._||' -> '||r._ AS who FROM friendship,
1414

1515
DO $$
1616
DECLARE
17-
graphql_q text = 'consumer("f3411edc-e1d0-452a-bc19-b42c0d5a0e36") {'
18-
' full_name,'
19-
' friendship'
20-
'}';
17+
--graphql_q text = E'consumer("f3411edc-e1d0-452a-bc19-b42c0d5a0e36") {\n'
18+
-- ' full_name,\n'
19+
-- ' friendship\n'
20+
-- '}';
21+
graphql_q text = E'consumer("f3411edc-e1d0-452a-bc19-b42c0d5a0e36") {\n'
22+
' full_name,\n'
23+
' friendship { full_name }\n'
24+
'}';
2125
sql_q text;
2226
result json;
2327
msg text;

0 commit comments

Comments
 (0)