(tableId, row, reuseRowIds = true)
| 1899 | rowId |
| 1900 | ); |
| 1901 | const addRow = (tableId, row, reuseRowIds = true) => transaction(() => { |
| 1902 | let rowId = void 0; |
| 1903 | if (validateRow(tableId, rowId, row)) { |
| 1904 | tableId = id(tableId); |
| 1905 | setValidRow( |
| 1906 | tableId, |
| 1907 | getOrCreateTable(tableId), |
| 1908 | rowId = getNewRowId(tableId, reuseRowIds ? 1 : 0), |
| 1909 | row |
| 1910 | ); |
| 1911 | } |
| 1912 | return rowId; |
| 1913 | }); |
| 1914 | const setPartialRow = (tableId, rowId, partialRow) => fluentTransaction( |
| 1915 | (tableId2, rowId2) => { |
| 1916 | if (validateRow(tableId2, rowId2, partialRow, 1)) { |
nothing calls this directly
no test coverage detected
searching dependent graphs…