MCPcopy
hub / github.com/pocketbase/pocketbase / AuxModelQuery

Method AuxModelQuery

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

AuxModelQuery creates a new preconfigured select auxiliary.db query with preset SELECT, FROM and other common fields based on the provided model.

(model Model)

Source from the content-addressed store, hash-verified

294 // AuxModelQuery creates a new preconfigured select auxiliary.db query with preset
295 // SELECT, FROM and other common fields based on the provided model.
296 AuxModelQuery(model Model) *dbx.SelectQuery
297
298 // Delete deletes the specified model from the regular app database.
299 Delete(model Model) error

Callers 3

TestModelQueryFunction · 0.65
TestDeleteOldLogsFunction · 0.65
logsListFunction · 0.65

Calls

no outgoing calls

Tested by 2

TestModelQueryFunction · 0.52
TestDeleteOldLogsFunction · 0.52