W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2007

[whatwg] Comments on updated SQL API

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 25 Sep 2007 03:10:14 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0709250300210.21662@hixie.dreamhostps.com>
On Sat, 22 Sep 2007, Maciej Stachowiak wrote:
> Mostly I like the new API (no surprise to Ian I'm sure).
> http://www.whatwg.org/specs/web-apps/current-work/#sql


> A few comments. I think putting the currentRow accessors directly on the 
> ResultSet is a bit of an odd choice.

Well, that part hadn't actually changed from the original API. ResultSet 
was exactly as originally specced. I just checked in a change, though, 
that changes the ResultSet API to have the data just be an array of 
objects, based on feedback from the Gears team. It could be implemented in 
the background more efficiently than it seems, or it could just be 
implemented by getting all the data and sticking it into an object per row 
in one potentially big array upfront.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 24 September 2007 20:10:14 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:57 UTC