json-fs-query
    Preparing search index...

    Function isSingleFieldKey

    • Whether a key indexes exactly this one field, so its index file can answer a condition or join on that field. A composite key's index holds combined values (["a",1], see computeKeyValue), which never equal one field's value: using it for that field matched nothing. (Using a composite index for its leftmost field is a planned improvement.)

      Parameters

      Returns boolean