Skip to content

README: testing queries in the sqlite3 shell - #49

Merged
djthorpe merged 1 commit into
masterfrom
djt/1118/readme-shell
Nov 18, 2026
Merged

djthorpe merged 1 commit into
masterfrom
djt/1118/readme-shell

Conversation

@djthorpe

@djthorpe djthorpe commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

A review of go-pg's README (mutablelogic/go-pg#137) pointed out that @key arguments and ${key} substitutions can't be run in a shell as they are. The same sentence is in go-sqlite's README since #48.

  • Arguments: the sqlite3 shell sets them with .parameter set @key value.
  • Substitutions: ${key} has to be replaced first.

…once their substitutions are replaced

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 18, 2026 14:31
@github-actions

Copy link
Copy Markdown

Coverage for this change: 90.6%

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues were identified in the documentation-only clarification of SQLite shell query testing.

No open issues 🎉

What changed in this PR

Clarifies how to test go-sqlite queries in the sqlite3 shell, correcting the README’s claim that queries can run unchanged.

Changes:

  • Documents .parameter set @key value for setting query arguments.
  • Explains that ${key} substitutions must be replaced before running queries.
File Description
README.md Clarifies shell-testing requirements for arguments and substitutions; no code changes.

Review effort: Balanced

@djthorpe djthorpe self-assigned this Nov 18, 2026
@djthorpe
djthorpe merged commit e8cdb35 into master Nov 18, 2026
3 checks passed
@djthorpe
djthorpe deleted the djt/1118/readme-shell branch November 18, 2026 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants