()
| 1766 | return 1, nil |
| 1767 | } |
| 1768 | func (j jsonArray) numInvertedIndexEntries() (int, error) { |
| 1769 | if len(j) == 0 { |
| 1770 | return 1, nil |
| 1771 | } |
| 1772 | keys, err := j.encodeInvertedIndexKeys(nil) |
| 1773 | if err != nil { |
| 1774 | return 0, err |
| 1775 | } |
| 1776 | return len(keys), nil |
| 1777 | } |
| 1778 | |
| 1779 | func (j jsonObject) numInvertedIndexEntries() (int, error) { |
| 1780 | if len(j) == 0 { |
nothing calls this directly
no test coverage detected