MCPcopy Index your code
hub / github.com/pocketbase/pocketbase / SetCollectionRef

Method SetCollectionRef

core/auth_origin_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 *AuthOrigin) SetCollectionRef(collectionId string) {
78 m.Set("collectionRef", collectionId)
79}
80
81// RecordRef returns the "recordRef" record field value.
82func (m *AuthOrigin) RecordRef() string {

Callers 6

authAlertFunction · 0.95
TestRecordCrudUpdateFunction · 0.95

Calls 1

SetMethod · 0.65

Tested by 5

TestRecordCrudUpdateFunction · 0.76