Q005warning
Unknown function
A function call has no matching overload for its arguments.
db/queries/example.sql:2:12: warning[Q005]: unknown function "lenth"
Printed by sgl from a small PostgreSQL reproduction project.
When it is reported
The function is neither one of the dialect's built-in functions nor created by a migration, or no overload accepts this many arguments.
How to fix it
Check the name and argument count. Register functions your database provides outside the migrations as custom functions in sgl.yaml.
See it in an example
In your terminal
$ sgl explain Q005
Look for UnknownFunction in Seagull's source to see where it is reported.