HTTP/2 302
x-cloud-trace-context: a08a24bccefc2caae1dc9b3cd25b250c
location: /en-US/docs/Web/API/IDBKeyRange/lowerBound
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
accept-ranges: bytes
cache-control: no-store
server: Google Frontend
content-type: text/plain; charset=utf-8
date: Mon, 29 Dec 2025 16:11:49 GMT
x-served-by: cache-bfi-kbfi7400072-BFI, cache-bfi-kbfi7400072-BFI, cache-sin-wsat1880092-SIN, cache-bom-vanm7210067-BOM
x-cache: MISS, MISS, MISS, MISS
x-cache-hits: 0, 0, 0, 0
x-timer: S1767024709.444075,VS0,VE302
vary: Accept
content-length: 64
HTTP/2 301
server: Google Frontend
location: /en-US/docs/Web/API/IDBKeyRange/lowerBound_static
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
x-cloud-trace-context: 3bb4e3a8dd1ca869b4e0b345835cc1ab
cache-control: max-age=2592000,public
content-type: text/plain; charset=utf-8
accept-ranges: bytes
age: 509974
date: Mon, 29 Dec 2025 16:11:49 GMT
x-served-by: cache-bfi-kbfi7400083-BFI, cache-bfi-kbfi7400116-BFI, cache-sin-wsat1880089-SIN, cache-bom-vanm7210067-BOM
x-cache: MISS, HIT, HIT, MISS
x-cache-hits: 0, 2, 2, 0
x-timer: S1767024710.767529,VS0,VE52
vary: Accept
content-length: 83
HTTP/2 200
x-goog-stored-content-length: 145046
x-goog-metageneration: 1
referrer-policy: strict-origin-when-cross-origin
expires: Mon, 29 Dec 2025 17:11:49 GMT
x-goog-hash: crc32c=MSuU0g==, md5=OolwS/1xlWVATg5Udl/3zA==
content-security-policy: default-src 'self'; script-src 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; script-src-elem 'report-sample' 'self' 'wasm-unsafe-eval' https://www.google-analytics.com/analytics.js https://*.googletagmanager.com assets.codepen.io production-assets.codepen.io https://js.stripe.com 'sha256-XNBp89FG76amD8BqrJzyflxOF9PaWPqPqvJfKZPCv7M=' 'sha256-YCNoU9DNiinACbd8n6UPyB/8vj0kXvhkOni9/06SuYw=' 'sha256-PZjP7OR6mBEtnvXIZfCZ5PuOlxoDF1LDZL8aj8c42rw='; style-src 'report-sample' 'self' 'unsafe-inline'; object-src 'none'; base-uri 'self'; connect-src 'self' developer.allizom.org bcd.developer.allizom.org bcd.developer.mozilla.org updates.developer.allizom.org updates.developer.mozilla.org https://*.google-analytics.com https://*.analytics.google.com https://*.googletagmanager.com https://incoming.telemetry.mozilla.org https://observatory-api.mdn.allizom.net https://observatory-api.mdn.mozilla.net https://api.github.com/search/issues stats.g.doubleclick.net https://api.stripe.com; font-src 'self'; frame-src 'self' mdn.github.io *.mdnplay.dev *.mdnyalp.dev *.play.test.mdn.allizom.net https://v2.scrimba.com https://scrimba.com jsfiddle.net www.youtube-nocookie.com codepen.io survey.alchemer.com https://js.stripe.com; img-src 'self' data: *.githubusercontent.com *.googleusercontent.com *.gravatar.com mozillausercontent.com firefoxusercontent.com profile.stage.mozaws.net profile.accounts.firefox.com developer.mozilla.org mdn.dev wikipedia.org upload.wikimedia.org https://mdn.github.io/shared-assets/ https://mdn.dev/ https://*.google-analytics.com https://*.googletagmanager.com www.gstatic.com; manifest-src 'self'; media-src 'self' archive.org videos.cdn.mozilla.net https://mdn.github.io/shared-assets/; child-src 'self'; worker-src 'self';
x-goog-meta-goog-reserved-file-mtime: 1766969340
x-frame-options: DENY
x-goog-stored-content-encoding: identity
x-goog-generation: 1766970505337214
via: 1.1 google, 1.1 varnish, 1.1 varnish, 1.1 varnish, 1.1 varnish
server: Google Frontend
origin-trial: AxVILwizhbMjxFeHOn1P3R8niO1RJY/smaK4B4d1rLzc1gTaxtXMSaTi+FoigYgCw40uFRDwFcEAeqDR+vVLOW4AAABfeyJvcmlnaW4iOiJodHRwczovL2RldmVsb3Blci5tb3ppbGxhLm9yZyIsImZlYXR1cmUiOiJQcml2YXRlQXR0cmlidXRpb25WMiIsImV4cGlyeSI6MTc0MjA3OTYwMH0=
last-modified: Mon, 29 Dec 2025 01:08:25 GMT
x-goog-storage-class: STANDARD
x-cloud-trace-context: b2308e7a63c2f53318d3c7635f39297c
x-content-type-options: nosniff
content-type: text/html
etag: "3a89704bfd719565404e0e54765ff7cc"
cache-control: public, max-age=3600
x-guploader-uploadid: AHVrFxNYVi3qx7gaD857k8ScprUUIDiHXZ0HbOkVlyXurM7mNBhpqBgMvHqPlHDsSDK5E3MP
strict-transport-security: max-age=63072000
content-encoding: gzip
accept-ranges: bytes
age: 0
date: Mon, 29 Dec 2025 16:11:50 GMT
x-served-by: cache-bfi-krnt7300021-BFI, cache-bfi-krnt7300045-BFI, cache-sin-wsat1880071-SIN, cache-bom-vanm7210067-BOM
x-cache: MISS, MISS, MISS, MISS
x-cache-hits: 0, 0, 0, 0
x-timer: S1767024710.841407,VS0,VE374
vary: Accept-Encoding
content-length: 19944
IDBKeyRange: lowerBound() static method - Web APIs | MDN
IDBKeyRange.lowerBound(lower)
IDBKeyRange.lowerBound(lower, open)
lower
Specifies the lower bound of the new key range.
open Optional
Indicates whether the lower bound excludes the endpoint value. The default is
false.
IDBKeyRange : The newly created key range.
DataError DOMException
Thrown if the key associated with the lower parameter is not a valid key.
The following example illustrates how you'd use a lower bound key range. Here we
declare keyRangeValue = IDBKeyRange.lowerBound("F", false); — a range that
includes the value "F" and everything after it. We open a transaction (using
IDBTransaction ) and an object store, and open a Cursor with
IDBObjectStore.openCursor , declaring keyRangeValue as its
optional key range value. This means that the cursor will only retrieve the record with
the key value "F" and all that come after it. If we used
IDBKeyRange.lowerBound("F", true);, then the range would not include "F";
only the values after it.
function displayData() {
const keyRangeValue = IDBKeyRange.lowerBound("F");
const transaction = db.transaction(["fThings"], "readonly");
const objectStore = transaction.objectStore("fThings");
objectStore.openCursor(keyRangeValue).onsuccess = (event) => {
const cursor = event.target.result;
if (cursor) {
const listItem = document.createElement("li");
listItem.textContent = `${cursor.value.fThing}, ${cursor.value.fRating}`;
list.appendChild(listItem);
cursor.continue();
} else {
console.log("Entries all displayed.");
}
};
}
Enable JavaScript to view this browser compatibility table.