IDBTransaction: durability プロパティ
安全なコンテキスト用: この機能は一部またはすべての対応しているブラウザーにおいて、安全なコンテキスト (HTTPS) でのみ利用できます。
IDBTransaction
の読み取り専用プロパティ durability
は、トランザクションの生成時に設定された永続性のヒントを返します。これは、トランザクションをコミットする際にパフォーマンスを重視するか永続性を重視するかのユーザーエージェントへのヒントです。
このプロパティの値は、IDBDatabase.transaction()
を用いてトランザクションを生成する際に options
パラメーターで定義されます。
値
例
動く例全体は、To-do Notifications アプリケーションを参照してください。(動く例を見る)
仕様書
Specification |
---|
Indexed Database API 3.0 # dom-idbtransaction-durability |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
durability |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.