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

[whatwg] executeSql without arguments

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 1 Nov 2007 00:22:15 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0711010022040.27205@hixie.dreamhostps.com>
On Wed, 31 Oct 2007, Timothy Hatcher wrote:
>
> I think the spec should have a forth variant of executeSql that takes no 
> arguments argument.
> 
> void executeSql(in DOMString sqlStatement);
> 
> The JavaScript language makes it easy to pass in an empty array, but for 
> simplicity and the benefit of other language bindings this argument 
> should be optional.
> 
> That will keep basic select and create table statements simple.
> 
> tx.executeSql("CREATE TABLE WebKitStickyNotes (id REAL UNIQUE, note 
> TEXT, timestamp REAL, left TEXT, top TEXT, zindex REAL)");

Added.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 31 October 2007 17:22:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC