MCPcopy
hub / github.com/pocketbase/pocketbase / SetAll

Method SetAll

tools/router/event.go:146–150  ·  view source on GitHub ↗

SetAll saves all items from m into the current event data store.

(m map[string]any)

Source from the content-addressed store, hash-verified

144
145// SetAll saves all items from m into the current event data store.
146func (e *Event) SetAll(m map[string]any) {
147 for k, v := range m {
148 e.Set(k, v)
149 }
150}
151
152// Response writers
153// -------------------------------------------------------------------

Callers 2

TestEventSetAllGetAllFunction · 0.95
processInternalRequestFunction · 0.80

Calls 1

SetMethod · 0.95

Tested by 1

TestEventSetAllGetAllFunction · 0.76