MCPcopy Create free account
hub / github.com/pocketbase/pocketbase / SetCollectionRef

Method SetCollectionRef

core/external_auth_model.go:77–79  ·  view source on GitHub ↗

SetCollectionRef updates the "collectionRef" record field value.

(collectionId string)

Source from the content-addressed store, hash-verified

75
76// SetCollectionRef updates the "collectionRef" record field value.
77func (m *ExternalAuth) SetCollectionRef(collectionId string) {
78 m.Set("collectionRef", collectionId)
79}
80
81// RecordRef returns the "recordRef" record field value.
82func (m *ExternalAuth) RecordRef() string {

Callers 4

TestRecordAuthWithOAuth2Function · 0.95

Calls 1

SetMethod · 0.65

Tested by 4

TestRecordAuthWithOAuth2Function · 0.76