MCPcopy Index your code
hub / github.com/simstudioai/sim / invalidateTableSchema

Function invalidateTableSchema

apps/sim/hooks/queries/tables.ts:202–206  ·  view source on GitHub ↗
(queryClient: ReturnType<typeof useQueryClient>, tableId: string)

Source from the content-addressed store, hash-verified

200}
201
202function invalidateTableSchema(queryClient: ReturnType<typeof useQueryClient>, tableId: string) {
203 queryClient.invalidateQueries({ queryKey: tableKeys.detail(tableId) })
204 queryClient.invalidateQueries({ queryKey: tableKeys.rowsRoot(tableId) })
205 queryClient.invalidateQueries({ queryKey: tableKeys.lists() })
206}
207
208/**
209 * Fetch all tables for a workspace.

Callers 6

useAddTableColumnFunction · 0.85
useUpdateColumnFunction · 0.85
useDeleteColumnFunction · 0.85
useAddWorkflowGroupFunction · 0.85
useUpdateWorkflowGroupFunction · 0.85
useDeleteWorkflowGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected