Skip to content

Document that In always uses ? placeholders (upstream #1003). - #14

Merged
avgvi merged 2 commits into
masterfrom
docs/959-in-placeholders
Oct 11, 2026
Merged

avgvi merged 2 commits into
masterfrom
docs/959-in-placeholders

Conversation

@avgvi

@avgvi avgvi commented Oct 11, 2026

Copy link
Copy Markdown
Member

Merges upstream jmoiron/sqlx#1003 by TastyHeadphones with its original commit: the README and the In doc comment say that In always takes and returns ? placeholders, even for PostgreSQL, and that the result goes through Rebind. Answers upstream #959. The README hunk conflicted with the fork's rewritten README and was placed by hand after the documentation paragraph, where upstream put it.

TastyHeadphones and others added 2 commits September 27, 2026 13:47
People on Postgres often try IN ($1) with In and hit bindVar count
errors. Spell out that In only understands ?, then Rebind for the driver.

Fixes #959
@avgvi
avgvi merged commit 7274608 into master Oct 11, 2026
6 checks passed
@avgvi
avgvi deleted the docs/959-in-placeholders branch October 11, 2026 04:00
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