()
| 792 | return 1, nil |
| 793 | } |
| 794 | func (j jsonArray) numInvertedIndexEntries() (int, error) { |
| 795 | if len(j) == 0 { |
| 796 | return 1, nil |
| 797 | } |
| 798 | keys, err := j.encodeInvertedIndexKeys(nil) |
| 799 | if err != nil { |
| 800 | return 0, err |
| 801 | } |
| 802 | return len(keys), nil |
| 803 | } |
| 804 | |
| 805 | func (j jsonObject) numInvertedIndexEntries() (int, error) { |
| 806 | if len(j) == 0 { |
nothing calls this directly
no test coverage detected