AuxNonconcurrentDB returns the nonconcurrent app auxiliary db instance (pb_data/auxiliary.db)..
The returned db instance is limited only to a single open connection,
meaning that it can process only 1 db operation at a time (other operations will be queued up).
This method is used mainly internally and in the tests to execute write
(save/delete) db operations as it helps with minimizing the SQLITE_BUSY errors.
For the majority of cases you would want to use the regular DB() method
since it allows concurrent db read operations.
In a transaction the AuxNonconcurrentDB() and AuxNonconcurrentDB() refer to the same *dbx.TX instance.
AuxNonconcurrentDB returns the nonconcurrent app auxiliary db instance (pb_data/auxiliary.db)..
The returned db instance is limited only to a single open connection, meaning that it can process only 1 db operation at a time (other operations will be queued up).
This method is used mainly internally and in the tests to execute write (save/delete) db operations as it helps with minimizing the SQLITE_BUSY errors.
For the majority of cases you would want to use the regular DB() method since it allows concurrent db read operations.
In a transaction the AuxNonconcurrentDB() and AuxNonconcurrentDB() refer to the same *dbx.TX instance.