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

Re: Replacing WebSQL with a Relational Data Model.

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 26 Oct 2010 11:20:23 -0400
Message-ID: <4CC6F1B7.3080706@mit.edu>
To: Keean Schupke <keean@fry-it.com>
CC: public-webapps@w3.org
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.html 
for example.

-Boris
Received on Tuesday, 26 October 2010 15:20:58 GMT

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