Skip to content

Commit

Permalink
[e] (0) add note about db versions
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1092 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 24, 2007
1 parent dcb0f9a commit b132696
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -30408,6 +30408,12 @@ have a variable and unknownable number of literals coming:
databases. Each database has a name and a current version. There is no way
to enumerate or delete the databases available for a domain from this API.

<p class=note>Each database has one version at a time, a database can't
exist in multiple versions at once. Versions are intended to allow authors
to manage schema changes incrementally and non-destructively, and without
running the risk of old code (e.g. in another browser window) trying to
write to a database with incorrect assumptions.

<p>The <dfn id=opendatabase
title=dom-opendatabase><code>openDatabase()</code></dfn> method returns a
<code><a href="#database0">Database</a></code> object. The method takes
Expand Down
7 changes: 7 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -27996,6 +27996,13 @@ have a variable and unknownable number of literals coming:
enumerate or delete the databases available for a domain from this
API.</p>

<p class="note">Each database has one version at a time, a database
can't exist in multiple versions at once. Versions are intended to
allow authors to manage schema changes incrementally and
non-destructively, and without running the risk of old code (e.g. in
another browser window) trying to write to a database with incorrect
assumptions.</p>

<p>The <dfn
title="dom-opendatabase"><code>openDatabase()</code></dfn> method
returns a <code>Database</code> object. The method takes two
Expand Down

0 comments on commit b132696

Please sign in to comment.