only

only method

Creates a single valued key range.

Syntax

var retVal = IDBKeyRange.only(value);

Parameters

value [in]

Type: any

The value for the key range.

Exceptions

This method can throw the following DOMException exceptions:

Note  As of a Windows Store app using JavaScript, the code property is deprecated in favor of the name property, which is preferred for standards compliance and future compatibility.
 
Exception propertiesCondition
name: DataError

The value specified for the key parameter is not a valid key value.

 

Standards information

See also

IDBKeyRange

 

 

Show:
© 2016 Microsoft