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

Method SetRecordRef

core/external_auth_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 *ExternalAuth) SetRecordRef(recordId string) {
88 m.Set("recordRef", recordId)
89}
90
91// Provider returns the "provider" record field value.
92func (m *ExternalAuth) Provider() string {

Callers 4

TestRecordAuthWithOAuth2Function · 0.95

Calls 1

SetMethod · 0.65

Tested by 4

TestRecordAuthWithOAuth2Function · 0.76