autoCheckpoint
Causes any database on the connection to automatically checkpoint after committing a transaction if there are frameCount or more frames in the write-ahead log file. Any WriteAheadLogHook previously passed to setHook is replaced.
Throws
if an error occurs.