MCPcopy
hub / github.com/pocketbase/pocketbase / SaveNoValidate

Method SaveNoValidate

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

SaveNoValidate saves the specified model into the regular app database without performing validations. If you want to also run validations before persisting, use [App.Save()].

(model Model)

Source from the content-addressed store, hash-verified

323 //
324 // If you want to also run validations before persisting, use [App.Save()].
325 SaveNoValidate(model Model) error
326
327 // SaveNoValidateWithContext is the same as [App.SaveNoValidate()]
328 // but allows specifying a context to limit the db execution.

Callers 11

ImportCollectionsMethod · 0.65
deleteRefRecordsFunction · 0.65
TestSuperuserOTPCommandFunction · 0.65
TestRecordRequestOTPFunction · 0.65
StubOTPRecordsFunction · 0.65
StubMFARecordsFunction · 0.65
initFunction · 0.65
initFunction · 0.65

Calls

no outgoing calls

Tested by 5

TestSuperuserOTPCommandFunction · 0.52
TestRecordRequestOTPFunction · 0.52