Notice:
The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.

IDBKeyRange

< apis‎ | indexeddb
Jump to: navigation, search

IDBKeyRange

This article is Ready to Use.

W3C Proposed Recommendation

Summary

A range of keys defined for an object store or index.


Properties

API Name Summary
lower This value is the lower-bound of the key range.
lowerOpen Returns false if the lower-bound value is included in the key range. Returns true if the lower-bound value is excluded from the key range.
upperOpen Returns false if the upper-bound value is included in the key range. Returns true if the upper-bound value is excluded from the key range.


Methods

API Name Summary
lowerBound Creates and returns a new key range with lower set to lower, lowerOpen set to open, upper set to undefined and and upperOpen set to true.
only Creates and returns a new key range with both lower and upper set to value and both lowerOpen and upperOpen set to false.


Events

No events.




Related specifications

Specification Status Related Changes
W3C IndexedDB Specification W3C Proposed Recommendation

Attribution

This article contains content originally from external sources.

Portions of this content come from the Microsoft Developer Network: [Windows Internet Explorer API reference Article]