Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions lib/llm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ sqlcmd -i ./scripts/query.sql
1. Check current context: \`sqlcmd config current-context\`
2. Show the context name and query to the user
3. Ask for explicit confirmation before executing

### Gotchas

- When passing multi-line SQL starting with \`--\` comments as a positional argument, the CLI parses \`--\` as flag prefixes. Use the \`--query\` flag instead:
\`\`\`bash
sqlcmd query --query "-- this comment won't break
SELECT 1"
\`\`\`
`,
},
gh: {
Expand Down
Loading