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