(ctx context.Context, id uuid.UUID)
| 96 | } |
| 97 | |
| 98 | func (m queryMetricsStore) DeleteOrganization(ctx context.Context, id uuid.UUID) error { |
| 99 | start := time.Now() |
| 100 | r0 := m.s.UpdateOrganizationDeletedByID(ctx, database.UpdateOrganizationDeletedByIDParams{ |
| 101 | ID: id, |
| 102 | UpdatedAt: time.Now(), |
| 103 | }) |
| 104 | m.queryLatencies.WithLabelValues("DeleteOrganization").Observe(time.Since(start).Seconds()) |
| 105 | m.queryCounts.WithLabelValues(httpmw.ExtractHTTPRoute(ctx), httpmw.ExtractHTTPMethod(ctx), "DeleteOrganization").Inc() |
| 106 | return r0 |
| 107 | } |
| 108 | |
| 109 | func (m queryMetricsStore) AcquireChats(ctx context.Context, arg database.AcquireChatsParams) ([]database.Chat, error) { |
| 110 | start := time.Now() |
nothing calls this directly
no test coverage detected