(b []byte)
| 706 | return [][]byte{encoding.EncodeStringAscending(b, string(j))}, nil |
| 707 | } |
| 708 | func (j jsonNumber) encodeInvertedIndexKeys(b []byte) ([][]byte, error) { |
| 709 | b = encoding.AddJSONPathTerminator(b) |
| 710 | var dec = apd.Decimal(j) |
| 711 | return [][]byte{encoding.EncodeDecimalAscending(b, &dec)}, nil |
| 712 | } |
| 713 | func (j jsonArray) encodeInvertedIndexKeys(b []byte) ([][]byte, error) { |
| 714 | // Checking for an empty array. |
| 715 | if len(j) == 0 { |
nothing calls this directly
no test coverage detected