(tableId, row, reuseRowIds = true)
| 2394 | rowId |
| 2395 | ); |
| 2396 | const addRow = (tableId, row, reuseRowIds = true) => transaction(() => { |
| 2397 | let rowId = void 0; |
| 2398 | if (validateRow(tableId, rowId, row)) { |
| 2399 | tableId = id(tableId); |
| 2400 | setValidRow( |
| 2401 | tableId, |
| 2402 | getOrCreateTable(tableId), |
| 2403 | rowId = getNewRowId(tableId, reuseRowIds ? 1 : 0), |
| 2404 | row |
| 2405 | ); |
| 2406 | } |
| 2407 | return rowId; |
| 2408 | }); |
| 2409 | const setPartialRow = (tableId, rowId, partialRow) => fluentTransaction( |
| 2410 | (tableId2, rowId2) => { |
| 2411 | if (validateRow(tableId2, rowId2, partialRow, 1)) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…