(ctx context.Context, uuid string)
| 131 | } |
| 132 | |
| 133 | func (s *SQLiteStore) Pin(ctx context.Context, uuid string) error { |
| 134 | _, err := s.db.ExecContext(ctx, `UPDATE events SET is_pinned = 1 WHERE uuid = ?`, uuid) |
| 135 | return err |
| 136 | } |
| 137 | |
| 138 | func (s *SQLiteStore) Unpin(ctx context.Context, uuid string) error { |
| 139 | _, err := s.db.ExecContext(ctx, `UPDATE events SET is_pinned = 0 WHERE uuid = ?`, uuid) |
no outgoing calls