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


Reply via email to