W3C home > Mailing lists > Public > public-webapps@w3.org > October to December 2010

Re: Replacing WebSQL with a Relational Data Model.

From: Keean Schupke <keean@fry-it.com>
Date: Tue, 26 Oct 2010 17:25:34 +0100
Message-ID: <AANLkTik5w8nNe4v=HOBj-_NWKnnXeh_EwJ3bq3qhLtu2@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: public-webapps@w3.org
Okay, I didn't know that, I assumed it was use BerkleyDB or something
similar. In which case having a relational algebra implementation API,
firefox could implement this on top of SQLite too?


Cheers,
Keean.


On 26 October 2010 16:20, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 10/26/10 5:03 AM, Keean Schupke wrote:
>
>> Backend? Frontend? Are you suggesting that IndexedDB could be
>> implemented on top of an SQL database?
>>
>
> Firefox implements IndexedDB on top of SQLite.
>
>
>  q2 = q1.restrict(rdb.eq(function(row) {row[myColumn] == myValue}));
>>
> ...
>
>
>> "select * from myTable where myColumn = 'myValue';"
>>
>> This is then passed through to the RDBMS to execute, and the table
>> returned in marshalled into the correct format.
>>
>
> You just made a bunch of assumptions.... and if this were actually
> implemented as you just proposed the results would depend on the RDBMS in
> use, so what you wrote is insufficient as spec text.  See
> http://lists.w3.org/Archives/Public/public-webapps/2009AprJun/0130.htmlfor example.
>
> -Boris
>
>
Received on Tuesday, 26 October 2010 16:26:03 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:41 GMT