Liking cljdoc? Tell your friends :D

web.storage.IDBKeyRange

A key range can be a single value or a range with upper and lower or endpoints. If the key range has both upper and lower bounds, it is bounded; if it has no bounds, it is unbounded. A bounded range can either be open (the endpoints are excluded) or closed endpoints are included). To retrieve all keys within a certain you can use the following code constructs:

A key range can be a single value or a range with upper and lower
or endpoints. If the key range has both upper and lower bounds,
it is bounded; if it has no bounds, it is unbounded. A bounded
range can either be open (the endpoints are excluded) or closed
endpoints are included). To retrieve all keys within a certain
you can use the following code constructs:
raw docstring

boundcljs

(bound this & args)

Method.

web.storage.IDBKeyRange: The newly created key range.

var myIDBKeyRange = IDBKeyRange.bound(lower, upper); var myIDBKeyRange = IDBKeyRange.bound(lower, upper, lowerOpen); var myIDBKeyRange = IDBKeyRange.bound(lower, upper, lowerOpen, upperOpen);

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound

Method.

`web.storage.IDBKeyRange`: The newly created key range.

`var myIDBKeyRange = IDBKeyRange.bound(lower, upper);
var myIDBKeyRange = IDBKeyRange.bound(lower, upper, lowerOpen);
var myIDBKeyRange = IDBKeyRange.bound(lower, upper, lowerOpen, upperOpen);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/bound`
sourceraw docstring

includescljs

(includes this key)

Method.

key The key you want to check for in your key range. This can any type.

var isIncluded = myKeyRange.includes(key)

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/includes

Method.

key The key you want to check for in your key range. This can
any type.

`var isIncluded = myKeyRange.includes(key)`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/includes`
sourceraw docstring

lowercljs

(lower this)

Property.

[Read Only]

The lower bound of the key range (can be any type.)

var lower = myKeyRange.lower

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lower

Property.

[Read Only]

The lower bound of the key range (can be any type.)

`var lower = myKeyRange.lower`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lower`
sourceraw docstring

lower-boundcljs

(lower-bound this & args)

Method.

web.storage.IDBKeyRange: The newly created key range.

var myIDBKeyRange = IDBKeyRange.lowerBound(lower); var myIDBKeyRange = IDBKeyRange.lowerBound(lower, open);

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound

Method.

`web.storage.IDBKeyRange`: The newly created key range.

`var myIDBKeyRange = IDBKeyRange.lowerBound(lower);
var myIDBKeyRange = IDBKeyRange.lowerBound(lower, open);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerBound`
sourceraw docstring

lower-opencljs

(lower-open this)

Property.

[Read Only]

A boolean:

var lowerOpen = myKeyRange.lowerOpen

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerOpen

Property.

[Read Only]

A `boolean`:

`var lowerOpen = myKeyRange.lowerOpen`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/lowerOpen`
sourceraw docstring

onlycljs

(only this value)

Method.

value is the value for the new key range.

var myIDBKeyRange = IDBKeyRange.only(value);

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/only

Method.

value is the value for the new key range.

`var myIDBKeyRange = IDBKeyRange.only(value);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/only`
sourceraw docstring

uppercljs

(upper this)

Property.

[Read Only]

The upper bound of the key range (can be any type.)

var upper = myKeyRange.upper

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upper

Property.

[Read Only]

The upper bound of the key range (can be any type.)

`var upper = myKeyRange.upper`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upper`
sourceraw docstring

upper-boundcljs

(upper-bound this & args)

Method.

web.storage.IDBKeyRange: The newly created key range.

var myIDBKeyRange = IDBKeyRange.upperBound(upper[, open=false])

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound

Method.

`web.storage.IDBKeyRange`: The newly created key range.

`var myIDBKeyRange = IDBKeyRange.upperBound(upper[, open=false])`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperBound`
sourceraw docstring

upper-opencljs

(upper-open this)

Property.

[Read Only]

A boolean:

var upperOpen = myKeyRange.upperOpen

See also: https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperOpen

Property.

[Read Only]

A `boolean`:

`var upperOpen = myKeyRange.upperOpen`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/IDBKeyRange/upperOpen`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close