MCPcopy Index your code
hub / github.com/coder/coder / UsageEventExistsByID

Method UsageEventExistsByID

coderd/database/querier.go:1443–1443  ·  view source on GitHub ↗
(ctx context.Context, id string)

Source from the content-addressed store, hash-verified

1441 // the updated_at is older than stale interval.
1442 UpsertWorkspaceAppAuditSession(ctx context.Context, arg UpsertWorkspaceAppAuditSessionParams) (bool, error)
1443 UsageEventExistsByID(ctx context.Context, id string) (bool, error)
1444 ValidateGroupIDs(ctx context.Context, groupIds []uuid.UUID) (ValidateGroupIDsRow, error)
1445 ValidateUserIDs(ctx context.Context, userIds []uuid.UUID) (ValidateUserIDsRow, error)
1446}

Callers 5

UsageEventExistsByIDMethod · 0.65
UsageEventExistsByIDMethod · 0.65
TestUsageEventsMethod · 0.65
runMethod · 0.65
TestCronFunction · 0.65

Implementers 5

sqlQueriercoderd/database/db.go
queryMetricsStorecoderd/database/dbmetrics/querymetrics
queriercoderd/database/dbauthz/dbauthz.go
MockStorecoderd/database/dbmock/dbmock.go
MockStoreMockRecordercoderd/database/dbmock/dbmock.go

Calls

no outgoing calls

Tested by 2

TestUsageEventsMethod · 0.52
TestCronFunction · 0.52