* Get statistics about the knowledge graph
()
| 1287 | * Get statistics about the knowledge graph |
| 1288 | */ |
| 1289 | getStats(): GraphStats { |
| 1290 | const stats = this.queries.getStats(); |
| 1291 | stats.dbSizeBytes = this.db.getSize(); |
| 1292 | stats.walSizeBytes = this.db.getWalSizeBytes(); |
| 1293 | return stats; |
| 1294 | } |
| 1295 | |
| 1296 | /** |
| 1297 | * Active SQLite backend for this project's connection (`node-sqlite` — Node's |