(ctx context.Context, uuid string)
| 93 | } |
| 94 | |
| 95 | func (s *SQLiteStore) Delete(ctx context.Context, uuid string) error { |
| 96 | _, err := s.db.ExecContext(ctx, `DELETE FROM events WHERE uuid = ?`, uuid) |
| 97 | return err |
| 98 | } |
| 99 | |
| 100 | func (s *SQLiteStore) DeleteAll(ctx context.Context, opts event.DeleteOptions) error { |
| 101 | if len(opts.UUIDs) > 0 { |
no outgoing calls