()
| 868 | return 1, nil |
| 869 | } |
| 870 | func (j jsonArray) numInvertedIndexEntries() (int, error) { |
| 871 | if len(j) == 0 { |
| 872 | return 1, nil |
| 873 | } |
| 874 | keys, err := j.encodeInvertedIndexKeys(nil) |
| 875 | if err != nil { |
| 876 | return 0, err |
| 877 | } |
| 878 | return len(keys), nil |
| 879 | } |
| 880 | |
| 881 | func (j jsonObject) numInvertedIndexEntries() (int, error) { |
| 882 | if len(j) == 0 { |
nothing calls this directly
no test coverage detected