Deprecated: Use SoftDeleteWorkspaceByID
(ctx context.Context, arg database.UpdateWorkspaceDeletedByIDParams)
| 7910 | |
| 7911 | // Deprecated: Use SoftDeleteWorkspaceByID |
| 7912 | func (q *querier) UpdateWorkspaceDeletedByID(ctx context.Context, arg database.UpdateWorkspaceDeletedByIDParams) error { |
| 7913 | // TODO deleteQ me, placeholder for database.Store |
| 7914 | fetch := func(ctx context.Context, arg database.UpdateWorkspaceDeletedByIDParams) (database.Workspace, error) { |
| 7915 | return q.db.GetWorkspaceByID(ctx, arg.ID) |
| 7916 | } |
| 7917 | // This function is always used to deleteQ. |
| 7918 | return deleteQ(q.log, q.auth, fetch, q.db.UpdateWorkspaceDeletedByID)(ctx, arg) |
| 7919 | } |
| 7920 | |
| 7921 | func (q *querier) UpdateWorkspaceDormantDeletingAt(ctx context.Context, arg database.UpdateWorkspaceDormantDeletingAtParams) (database.WorkspaceTable, error) { |
| 7922 | fetch := func(ctx context.Context, arg database.UpdateWorkspaceDormantDeletingAtParams) (database.WorkspaceTable, error) { |
nothing calls this directly
no test coverage detected