Tankōbon / main/db/schema / configureConnection
Function: configureConnection()
configureConnection(
db):void
Defined in: main/db/schema.ts:260
Makes db wait for a lock held by another connection (a second instance of the app, a sync tool reading the file) instead of failing at once, which is what SQLite does by default.
Parameters
db
DatabaseSync
Returns
void