()
| 48 | } |
| 49 | |
| 50 | func (c *CompositeCodec) PreferredFormat() int16 { |
| 51 | if c.FormatSupported(BinaryFormatCode) { |
| 52 | return BinaryFormatCode |
| 53 | } |
| 54 | return TextFormatCode |
| 55 | } |
| 56 | |
| 57 | func (c *CompositeCodec) PlanEncode(m *Map, oid uint32, format int16, value any) EncodePlan { |
| 58 | if _, ok := value.(CompositeIndexGetter); !ok { |
nothing calls this directly
no test coverage detected