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

Method IsMultiple

core/field_relation.go:151–153  ·  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

149// IsMultiple implements [MultiValuer] interface and checks whether the
150// current field options support multiple values.
151func (f *RelationField) IsMultiple() bool {
152 return f.MaxSelect > 1
153}
154
155// ColumnType implements [Field.ColumnType] interface method.
156func (f *RelationField) ColumnType(app App) string {

Callers 4

expandRecordsMethod · 0.95
ColumnTypeMethod · 0.95
normalizeValueMethod · 0.95
DriverValueMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected