MCPcopy
hub / github.com/pocketbase/pocketbase / NonconcurrentDB

Method NonconcurrentDB

core/app.go:182–182  ·  view source on GitHub ↗

NonconcurrentDB returns the nonconcurrent app data.db builder instance. 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 queries queue up). This method is used mainly internally and in the tests to execute write

()

Source from the content-addressed store, hash-verified

180 //
181 // In a transaction the ConcurrentDB() and NonconcurrentDB() refer to the same *dbx.TX instance.
182 NonconcurrentDB() dbx.Builder
183
184 // AuxDB returns the app auxiliary.db builder instance.
185 //

Callers 7

deleteMethod · 0.65
createMethod · 0.65
updateMethod · 0.65
TestVacuumFunction · 0.65
TestRecordDeleteFunction · 0.65
TestBaseAppDBDualBuilderFunction · 0.65
executeQueryFunction · 0.65

Calls

no outgoing calls

Tested by 3

TestVacuumFunction · 0.52
TestRecordDeleteFunction · 0.52
TestBaseAppDBDualBuilderFunction · 0.52