* Insert multiple nodes in a transaction
(nodes: Node[])
| 309 | * Insert multiple nodes in a transaction |
| 310 | */ |
| 311 | insertNodes(nodes: Node[]): void { |
| 312 | this.db.transaction(() => { |
| 313 | for (const node of nodes) { |
| 314 | this.insertNode(node); |
| 315 | } |
| 316 | })(); |
| 317 | } |
| 318 | |
| 319 | /** |
| 320 | * Update an existing node |
no test coverage detected