* Get statistics about the knowledge graph
()
| 2347 | * Get statistics about the knowledge graph |
| 2348 | */ |
| 2349 | getStats(): GraphStats { |
| 2350 | const stats = this.queries.getStats(); |
| 2351 | stats.dbSizeBytes = this.db.getSize(); |
| 2352 | stats.walSizeBytes = this.db.getWalSizeBytes(); |
| 2353 | return stats; |
| 2354 | } |
| 2355 | |
| 2356 | /** |
| 2357 | * Active SQLite backend for this project's connection (`node-sqlite` — Node's |