* Run `fn` as one transaction. The write helpers called inside join it * rather than committing on their own, so a crash part-way leaves none of * `fn`'s writes behind.
(fn: () => T)
| 882 | * `fn`'s writes behind. |
| 883 | */ |
| 884 | runInTransaction<T>(fn: () => T): T { |
| 885 | return this.db.transaction(fn)(); |
| 886 | } |
| 887 | |
| 888 | /** |
| 889 | * Store one file's whole extraction bundle — nodes, edges, unresolved refs, |
no test coverage detected