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