Re: Replacing WebSQL with a Relational Data Model.

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 UTC