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

[whatwg] executeSql API is synchronous

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 25 Sep 2007 04:18:50 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0709250418130.21662@hixie.dreamhostps.com>
On Sun, 23 Sep 2007, David wrote:
> 
> Can someone point me out when the SQLCallback is called exactly ?
> Is it when the ResultSet is full or, as soon as the first row is available ?

I've tried to make this clearer now.


> What if I want to handle the RS by blocks of 100 rows ?

Why wouldn't you just want to do everything?


> Wouldn't it be better to let the developer control the threading 
> behaviour of his I/O accesses ?

Generally no. :-)


> Will the worker-thread API be developed ?

Yes.

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

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