upperBound method

Creates an upper bound key range.

Internet Explorer 10

Syntax

object.upperBound(bound, open, retVal)

Parameters

bound [in]

Type: any

The upper value of the key range.

open [in, optional]

Type: Boolean

Indicates whether the key range includes the bound value.

Exceptions

This method can throw the following DOMException exceptions:

Note  As of Internet Explorer 10, 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:
© 2014 Microsoft