* Insert multiple unresolved references in a transaction
(refs: UnresolvedReference[])
| 1568 | * Insert multiple unresolved references in a transaction |
| 1569 | */ |
| 1570 | insertUnresolvedRefsBatch(refs: UnresolvedReference[]): void { |
| 1571 | if (refs.length === 0) return; |
| 1572 | const insert = this.db.transaction(() => { |
| 1573 | for (const ref of refs) { |
| 1574 | this.insertUnresolvedRef(ref); |
| 1575 | } |
| 1576 | }); |
| 1577 | insert(); |
| 1578 | } |
| 1579 | |
| 1580 | /** |
| 1581 | * Delete unresolved references from a node |
no test coverage detected