Liking cljdoc? Tell your friends :D

idb.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.

idb.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.

`idb.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.

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.

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.

idb.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.

`idb.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.

A web.boolean:

var lowerOpen = myKeyRange.lowerOpen

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

Property.

A `web.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

set-lower!cljs

(set-lower! this val)

Property.

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.

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

set-lower-open!cljs

(set-lower-open! this val)

Property.

A web.boolean:

var lowerOpen = myKeyRange.lowerOpen

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

Property.

A `web.boolean`:

`var lowerOpen = myKeyRange.lowerOpen`

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

set-upper!cljs

(set-upper! this val)

Property.

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.

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

set-upper-open!cljs

(set-upper-open! this val)

Property.

A web.boolean:

var upperOpen = myKeyRange.upperOpen

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

Property.

A `web.boolean`:

`var upperOpen = myKeyRange.upperOpen`

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

uppercljs

(upper this)

Property.

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.

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.

idb.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.

`idb.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.

A web.boolean:

var upperOpen = myKeyRange.upperOpen

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

Property.

A `web.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