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

Function deleteRow

apps/sim/lib/table/rows/service.ts:1296–1306  ·  view source on GitHub ↗
(
  tableId: string,
  rowId: string,
  workspaceId: string,
  requestId: string
)

Source from the content-addressed store, hash-verified

1294 * @throws Error if row not found
1295 */
1296export async function deleteRow(
1297 tableId: string,
1298 rowId: string,
1299 workspaceId: string,
1300 requestId: string
1301): Promise<void> {
1302 const deleted = await deleteOrderedRow({ tableId, rowId, workspaceId })
1303 if (!deleted) throw new Error('Row not found')
1304
1305 logger.info(`[${requestId}] Deleted row ${rowId} from table ${tableId}`)
1306}
1307
1308/**
1309 * Updates multiple rows matching a filter.

Callers 2

executeFunction · 0.90
route.tsFile · 0.90

Calls 2

deleteOrderedRowFunction · 0.90
infoMethod · 0.80

Tested by

no test coverage detected