mirror of https://github.com/usememos/memos.git
- 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) |
||
|---|---|---|
| .. | ||
| activity.go | ||
| attachment.go | ||
| common.go | ||
| idp.go | ||
| inbox.go | ||
| instance_setting.go | ||
| memo.go | ||
| memo_filter_test.go | ||
| memo_relation.go | ||
| migration_history.go | ||
| reaction.go | ||
| sqlite.go | ||
| user.go | ||
| user_setting.go | ||