Kept var name as useWalMode in DatabaseConnectionCache as WAL mode is enabled by default, and if it's disabled - we simply skip enabling it. Seemed a bit misleading to name the var as disableWalMode here + TS does not like when method and variable name are the same.
Kept var name as
useWalMode
inDatabaseConnectionCache
as WAL mode is enabled by default, and if it's disabled - we simply skip enabling it. Seemed a bit misleading to name the var asdisableWalMode
here + TS does not like when method and variable name are the same.