Q028error

Invalid keyword argument value

A keyword argument's value is not allowed.

db/queries/example.sql:1:27: error[Q028]: invalid value "mnay" for keyword argument "command"; allowed: one, many, exec, execresult, execrows, batch, stream, copyfrom, asyncexec
help: did you mean "many"?
Printed by sgl from a small PostgreSQL reproduction project.

When it is reported

Values are checked against the argument's shape: one of a closed set, an integer, a boolean or a list. For a closed set, the diagnostic suggests the closest allowed value.

How to fix it

Use one of the allowed values.

In your terminal

$ sgl explain Q028

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