memos/store/db
Claude f5d56b5db7
fix(store): properly handle sql.ErrNoRows in SQLite GetReaction
- Use direct QueryRowContext with proper sql.ErrNoRows handling
- Return nil when reaction is not found (sql.ErrNoRows)
- Return error for other database errors
- More performant than List approach (single row fetch vs list iteration)
2025-11-06 12:17:17 +00:00
..
mysql refactor: rename workspace to instance throughout codebase 2025-11-05 23:35:35 +08:00
postgres fix(security): implement security review recommendations 2025-11-06 12:07:38 +00:00
sqlite fix(store): properly handle sql.ErrNoRows in SQLite GetReaction 2025-11-06 12:17:17 +00:00
db.go refactor: clean packages 2025-05-29 21:44:43 +08:00