Q029error

Duplicate keyword argument

The same keyword argument appears twice in one directive.

db/queries/example.sql:1:30: error[Q029]: duplicate keyword argument "command"
Printed by sgl from a small PostgreSQL reproduction project.

When it is reported

This also covers a positional argument and its keyword form filling the same slot, such as sgl.query(GetUser, one, command: many).

How to fix it

Remove one of them.

In your terminal

$ sgl explain Q029

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