[whatwg] SQL storage API: optional name, version of the openDatabase()

Dimitri Glazkov dimitri.glazkov at gmail.com
Thu Apr 10 09:53:10 PDT 2008


Doh! I apologize. This has not been one of my shiniest moments.

In addition to what Aaron says, I actually meant the reverse: only
name and version being required (potentially with version optional, as
he suggests), and display name and estimated size being optional.

:DG<

On Thu, Apr 10, 2008 at 11:42 AM, Aaron Boodman <aa at google.com> wrote:
> On Thu, Apr 10, 2008 at 9:26 AM, Timothy Hatcher <timothy at apple.com> wrote:
>  > Name and version is not just used for UI, it is used to specify what
>  > database to open and to prevent schema conflicts.
>
>  Whoops, yeah. This request actually originally comes from me, and what
>  I was referring to was the version parameter to open().
>
>  It can currently be the empty string, but it cannot be omitted. Any
>  reason why not? Some (most?) applications will not need this field and
>  it seems unfortunate to force them to pass an empty string.
>
>  - a
>



More information about the whatwg mailing list