Q026error

Unknown directive

A directive name is not one Seagull knows.

db/queries/example.sql:2:4: error[Q026]: unknown directive "sgl.colum"
help: did you mean "sgl.column"?
Printed by sgl from a small PostgreSQL reproduction project.

When it is reported

The known directives are sgl.query, sgl.param, sgl.sortable, sgl.embed, sgl.column and sgl.migration. When a name is close to one of them, the diagnostic suggests it.

How to fix it

Use the suggested name.

In your terminal

$ sgl explain Q026

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