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

[whatwg] executeSql without arguments

From: Timothy Hatcher <timothy@apple.com>
Date: Wed, 31 Oct 2007 11:45:38 -0700
Message-ID: <93BD0277-AAAD-4ADD-A528-86DD313A6D9D@apple.com>
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)");

? Timothy Hatcher

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20071031/05d406d1/attachment.htm>
Received on Wednesday, 31 October 2007 11:45:38 UTC

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