* Get statistics about the knowledge graph
()
| 2398 | * Get statistics about the knowledge graph |
| 2399 | */ |
| 2400 | getStats(): GraphStats { |
| 2401 | const stats = this.queries.getStats(); |
| 2402 | stats.dbSizeBytes = this.db.getSize(); |
| 2403 | stats.walSizeBytes = this.db.getWalSizeBytes(); |
| 2404 | return stats; |
| 2405 | } |
| 2406 | |
| 2407 | /** |
| 2408 | * Active SQLite backend for this project's connection (`node-sqlite` — Node's |