MCPcopy
hub / github.com/pocketbase/pocketbase / Save

Method Save

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

Save validates and saves the specified model into the regular app database. If you don't want to run validations, use [App.SaveNoValidate()].

(model Model)

Source from the content-addressed store, hash-verified

313 //
314 // If you don't want to run validations, use [App.SaveNoValidate()].
315 Save(model Model) error
316
317 // SaveWithContext is the same as [App.Save()] but allows specifying a context to limit the db execution.
318 //

Callers 15

SendRecordOTPFunction · 0.65
TestReloadSettingsFunction · 0.65
TestDeleteExpiredOTPsFunction · 0.65
TestFileFieldInterceptFunction · 0.65
TestFileFieldInterceptTxFunction · 0.65
TestCollectionValidateFunction · 0.65
TestCollectionSaveModelFunction · 0.65

Calls

no outgoing calls