MCPcopy Create free account
hub / github.com/buggregator/server / Delete

Method Delete

internal/storage/sqlite.go:95–98  ·  view source on GitHub ↗
(ctx context.Context, uuid string)

Source from the content-addressed store, hash-verified

93}
94
95func (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
100func (s *SQLiteStore) DeleteAll(ctx context.Context, opts event.DeleteOptions) error {
101 if len(opts.UUIDs) > 0 {

Callers 1

TestSQLiteStore_DeleteFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestSQLiteStore_DeleteFunction · 0.76