Q007error

Directive syntax error

A directive could not be read: an unexpected character, token or end of input.

db/queries/example.sql:1:39: error[Q007]: expected ',' or ')', got "true"
Printed by sgl from a small PostgreSQL reproduction project.

When it is reported

This is the catch-all for directive lexing and parsing failures that no more specific code describes.

How to fix it

Compare the directive with the forms in the directives reference.

In your terminal

$ sgl explain Q007

Look for DirectiveSyntax in Seagull's source to see where it is reported.