ConcurrentDB returns the concurrent app data.db builder instance. This method is used mainly internally for executing db read operations in a concurrent/non-blocking manner. Most users should use simply DB() as it will automatically route the query execution to ConcurrentDB() or NonconcurrentDB().
()
| 509 | // |
| 510 | // In a transaction the ConcurrentDB() and NonconcurrentDB() refer to the same *dbx.TX instance. |
| 511 | func (app *BaseApp) ConcurrentDB() dbx.Builder { |
| 512 | return app.concurrentDB |
| 513 | } |
| 514 | |
| 515 | // NonconcurrentDB returns the nonconcurrent app data.db builder instance. |
| 516 | // |
no outgoing calls