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 
for example.

Received on Tuesday, 26 October 2010 15:20:58 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:13 UTC