Lines Matching refs:dbName
19 function statementSuccessCallback(dbName, statementType) argument
21 log(dbName + " " + statementType + " statement succeeded");
24 function statementErrorCallback(dbName, statementType, error) argument
26 log(dbName + " " + statementType + " statement failed: " + error.message);
30 function runTransaction(db, dbName, val) argument
35 function(result) { statementSuccessCallback(dbName, "read"); },
36 function(tx, error) { statementErrorCallback(dbName, "read", error); });
40 function(result) { statementSuccessCallback(dbName, "write"); },
41 function(tx, error) { statementErrorCallback(dbName, "write", error); });
44 log(dbName + " transaction failed: " + error.message);
48 log(dbName + " transaction succeeded");