http://www.w3.org/TR/2010/NOTE-webdatabase-20101118/
//I can open a database
//  write to it, read from it.
// But I would like access to the hidden database it creates.
//  I look everywhere, cannot find it!

var databaseOptions = {
fileName: "file://localhost/C:/R/work/test.db",
version: "1.0",
displayName: "SQLite Hello World",
maxSize: 8024};
var datebase;

try {
if (openDatabase) {
database =
window.openDatabase(databaseOptions.fileName,databaseOptions.version,
databaseOptions.displayName,databaseOptions.maxSize );
if (!database)
alert("Failed to open the database on disk. This is probably because the
version was bad or there is not enough space left in this domain's quota");
} else
alert("Couldn't open the database. Please try with a WebKit nightly with
this feature enabled");
} catch(err) { }
I
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to