Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web/API/IDBFactory を更新 #22994

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 8 additions & 10 deletions files/ja/web/api/idbfactory/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,23 @@
title: IDBFactory
slug: Web/API/IDBFactory
l10n:
sourceCommit: 387d0d4d8690c0d2c9db1b85eae28ffea0f3ac1f
sourceCommit: dbd4ba01220a5031d3a26a3ac1490d3269210124
---

{{APIRef("IndexedDB")}}
{{APIRef("IndexedDB")}} {{AvailableInWorkers}}

[IndexedDB API](/ja/docs/Web/API/IndexedDB_API) の **`IDBFactory`** インターフェイスは、indexedDB への非同期アクセスを提供します。 このインターフェイスを実装するオブジェクトは、`window.indexedDB` です。このオブジェクトを使用すれば、`IDBFactory` インターフェイスに直接アクセスせずに、IndexedDB を開いたり (生成したり接続したり)、削除したりできます。

{{AvailableInWorkers}}
**`IDBFactory`** は [IndexedDB API](/ja/docs/Web/API/IndexedDB_API) のインターフェイスで、indexedDB への非同期アクセスを提供します。 このインターフェイスを実装するオブジェクトは、`window.indexedDB` です。このオブジェクトを使用すれば、`IDBFactory` インターフェイスに直接アクセスせずに、IndexedDB を開いたり (生成したり接続したり)、削除したりできます。

## インスタンスメソッド

- {{domxref("IDBFactory.open")}}
- {{domxref("IDBFactory.open()")}}
- : [データベースへの接続](/ja/docs/Web/API/IndexedDB_API/Basic_Terminology#データベースコネクション)を開く要求をする現在のメソッドです。
- {{domxref("IDBFactory.deleteDatabase")}}
- {{domxref("IDBFactory.deleteDatabase()")}}
- : データベースの削除を要求するメソッドです。
- {{domxref("IDBFactory.cmp")}}
- {{domxref("IDBFactory.cmp()")}}
- : 2 つのキーを比較して、大きいほうの値を戻り値として返すメソッドです。
- {{domxref("IDBFactory.databases")}}
- : 利用可能な全てのデータベースのリストを、名前とバージョンを含めて返すメソッドです
- {{domxref("IDBFactory.databases()")}}
- : 利用できるすべてのデータベースの配列(名前とバージョンを含む)で履行されるプロミスを返します

## 例

Expand Down