MCPcopy
hub / github.com/pocketbase/pocketbase / IsMultiple

Method IsMultiple

core/field_select.go:138–140  ·  view source on GitHub ↗

IsMultiple implements [MultiValuer] interface and checks whether the current field options support multiple values.

()

Source from the content-addressed store, hash-verified

136// IsMultiple implements [MultiValuer] interface and checks whether the
137// current field options support multiple values.
138func (f *SelectField) IsMultiple() bool {
139 return f.MaxSelect > 1
140}
141
142// ColumnType implements [Field.ColumnType] interface method.
143func (f *SelectField) ColumnType(app App) string {

Callers 3

ColumnTypeMethod · 0.95
normalizeValueMethod · 0.95
DriverValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected