When running in Node.js, OurBigBook dumps the IDs of all processed files to a
out/db.sqlite3file in the
outdirectory, and then reads from that file when IDs are needed.
When converting under a directory that contains
out/db.sqlite3is placed inside the same directory as the
If there is no
ourbigbook.jsonin parent directories, then
out/db.sqlite3is placed in the current working directory.
These follows the principles described at: the current working directory does not matter when there is a
db.sqlite3is not created or used when handling input from stdin.
To inspect the ID database to debug it, you can use:
sqlite3 out/db.sqlite3 .dump
It is often useful to dump a single table, e.g. to dump theand one particularly important query is to dump a list of all known IDs:
sqlite3 out/db.sqlite3 '.dump ids'
sqlite3 out/db.sqlite3 'select id from ids'
You can force
ourbigbookto not use the ID database with the
--no-dbcommand line option