MCPcopy
hub / github.com/pocketbase/pocketbase / ConcurrentDB

Method ConcurrentDB

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

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().

()

Source from the content-addressed store, hash-verified

166 //
167 // In a transaction the ConcurrentDB() and NonconcurrentDB() refer to the same *dbx.TX instance.
168 ConcurrentDB() dbx.Builder
169
170 // NonconcurrentDB returns the nonconcurrent app data.db builder instance.
171 //

Callers 15

ValidateValueMethod · 0.65
validateRecordIdFunction · 0.65
TestRecordDeleteFunction · 0.65
TestModelQueryFunction · 0.65
TestBaseAppDBDualBuilderFunction · 0.65
runMethod · 0.65
checkIndexesMethod · 0.65
ValidateValueMethod · 0.65

Calls

no outgoing calls