MCPcopy
hub / github.com/pocketbase/pocketbase / SetRecordRef

Method SetRecordRef

core/auth_origin_model.go:87–89  ·  view source on GitHub ↗

SetRecordRef updates the "recordRef" record field value.

(recordId string)

Source from the content-addressed store, hash-verified

85
86// SetRecordRef updates the "recordRef" record field value.
87func (m *AuthOrigin) SetRecordRef(recordId string) {
88 m.Set("recordRef", recordId)
89}
90
91// Fingerprint returns the "fingerprint" record field value.
92func (m *AuthOrigin) Fingerprint() string {

Callers 6

TestAuthOriginRecordRefFunction · 0.95
authAlertFunction · 0.95
TestRecordCrudUpdateFunction · 0.95

Calls 1

SetMethod · 0.65

Tested by 5

TestAuthOriginRecordRefFunction · 0.76
TestRecordCrudUpdateFunction · 0.76