memos/store/db
Steven 46ce0bc62e fix(store): correct PostgreSQL placeholder generation in IN clauses
Fixes a regression introduced in v0.25.2 where PostgreSQL IN clause
placeholders were not properly incremented, causing all parameters to
use the same placeholder index (e.g., $1, $1, $1 instead of $1, $2, $3).

This bug affected:
- ListReactions (ContentIDList) - caused "failed to list reactions" errors
- ListAttachments (MemoIDList)
- ListMemos (IDList and UIDList)

The fix combines placeholder generation and argument appending into a
single loop to ensure proper incrementing.

Fixes #5188

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 06:47:06 +08:00
..
mysql feat: add id as final tie-breaker in ListMemos 2025-10-23 19:44:41 +08:00
postgres fix(store): correct PostgreSQL placeholder generation in IN clauses 2025-10-25 06:47:06 +08:00
sqlite feat: add id as final tie-breaker in ListMemos 2025-10-23 19:44:41 +08:00
db.go refactor: clean packages 2025-05-29 21:44:43 +08:00