Google News
logo
JavaScript IndexedDB - Interview Questions
By default, how does a IndexedDB Object store sort values?
By default, an IndexedDB Object store sorts values in ascending order by key. The key is a unique identifier for each record in the object store. If two records have the same key, they will be sorted by their value. This ordering is followed during cursor-based traversal or when getting multiple records using key ranges.
Advertisement