(tableId: string)
| 114 | |
| 115 | /** Deletes every row of a table (set-based; the statement-level trigger zeroes `row_count`). */ |
| 116 | export async function deleteAllTableRows(tableId: string): Promise<void> { |
| 117 | await db.delete(userTableRows).where(eq(userTableRows.tableId, tableId)) |
| 118 | } |
| 119 | |
| 120 | /** |
| 121 | * Adds columns to a table during an import (the `createColumns` flow), wrapping the |
no test coverage detected