cli.sql_arguments
A jadpo sql command names no query or action, one the project doesn't declare, or an action that writes nothing.
Area 14, Tools; not declinable; the next step is usually the agent's.
Why Jadpo refuses it
jadpo sql prints the statements a query sends, or an action's writes send. It shows them for one name, and a name that isn't one could be a typo for another.
What it looks like
A new project, whose one action is greet, and the command names grete:
jadpo new todo > /dev/nullcd todojadpo sql grete
error grete isn't a query or an action
- reason
- This project declares no query or action called
grete. Did you meangreet? - next
- Run
jadpo sql greet(agent) - rule
- cli.
sql_ arguments - help
- https://jadpo.
dev/docs/errors/cli. sql_ arguments
(agent) at the end of the next: line means your coding agent can make the fix itself.
An action that writes nothing has no statements to show:
jadpo new todo > /dev/nullcd todojadpo sql greet
error greet writes nothing
- reason
jadpo sqlshows the statements an action's writes send, andgreethas nocreate,update,deleteor transition; the queries it calls are shown by name.- next
- Name a query, or an action that writes (agent)
- rule
- cli.
sql_ arguments - help
- https://jadpo.
dev/docs/errors/cli. sql_ arguments
How to fix it
If you meant a query or an action that writes, name it as the project declares it:
jadpo sql <query or action>It prints each statement with its parameters.
Related
Markdown for agents: /docs/errors/cli.sql_arguments.md.Built from Jadpo main at aee2e8f.