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

Method Values

plugins/jsvm/form_data.go:83–91  ·  view source on GitHub ↗

Keys returns all values contained in the current FormData.

()

Source from the content-addressed store, hash-verified

81
82// Keys returns all values contained in the current FormData.
83func (data FormData) Values() []any {
84 result := make([]any, 0, len(data))
85
86 for _, values := range data {
87 result = append(result, values...)
88 }
89
90 return result
91}
92
93// Entries returns a [key, value] slice pair for each FormData entry.
94func (data FormData) Entries() [][]any {

Callers 1

TestFormDataValuesFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestFormDataValuesFunction · 0.76