mozilla

Compare Revisions

IDBRequest

Change Revisions

Revision 298236:

Revision 298236 by scottrowe on

Revision 307289:

Revision 307289 by ian81 on

Title:
IDBRequest
IDBRequest
Slug:
IndexedDB/IDBRequest
IndexedDB/IDBRequest
Tags:
"indexeddb"
"indexeddb"
Content:

Revision 298236
Revision 307289
n37    <pre class="brush: js">n37    <pre class="brush: js" style="margin-left: 40px;">
n41        var transaction = db.transaction([], IDBTransaction.READ_n41        var transaction = db.transaction([]);
>ONLY); 
42// "readonly" is the default option; 
43// when data will be added to the database use "readwrite".
tt48         ...;
49    };
50request.onupgradeneeded= function(event) {
51         // changing objectStore data is done here, as opposed to
 > a transaction enum:

Back to History