javascript Programming Glossary: db.transaction
Optimizing WebSQL Local Database Population http://stackoverflow.com/questions/10031605/optimizing-websql-local-database-population this JS part only using underscore.js for array helpers db.transaction function tx var q 'INSERT INTO Cost_Codes Cost_Code_No Name..
Inserting large quantities in IndexedDB's objectstore blocks UI http://stackoverflow.com/questions/10471759/inserting-large-quantities-in-indexeddbs-objectstore-blocks-ui AddListings function x2j_list_new callback var transaction db.transaction listings IDBTransaction.READ_WRITE var count 0 transaction.oncomplete.. event.target.error event.target.errorCode var transaction db.transaction 'item' readwrite var itemStore transaction.objectStore item..
Web SQL Database + Javascript loop http://stackoverflow.com/questions/4825455/web-sql-database-javascript-loop properly with it. I use for var i 0 i numberofArticles 1 i db.transaction function tx tx.executeSql 'INSERT INTO LOGS articleID VALUES.. closure. for var i 0 i numberofArticles 1 i function value db.transaction function tx tx.executeSql 'INSERT INTO LOGS articleID VALUES..
Why is PhoneGap Android app crashing while inserting bunch of data into SQL? http://stackoverflow.com/questions/6291692/why-is-phonegap-android-app-crashing-while-inserting-bunch-of-data-into-sql function result var data .parseJSON result try db.transaction function tx .each data.items function i v try tx.executeSql..
IndexedDB Fuzzy Search http://stackoverflow.com/questions/7086180/indexeddb-fuzzy-search query speed in Firefox. With WebSQL I have this sentence db.transaction function tx var SQL 'SELECT column1 column2 FROM table WHERE.. want to do same thing with IndexedDB and I have this code db.transaction 'table' 'readonly' .objectStore 'table' .index 'sortcolumn'.. the search term with a 'z' letter at the final. Example db.transaction 'table' 'readonly' .objectStore 'table' .openCursor IDBKeyRange.bound..
HTML5 Web SQL Transactions skipped without error when touch triggered in IOS http://stackoverflow.com/questions/8741000/html5-web-sql-transactions-skipped-without-error-when-touch-triggered-in-ios var db oldOpenDatabase.apply window arguments var oldTrans db.transaction db.transaction function callback err suc var db this var params.. window arguments var oldTrans db.transaction db.transaction function callback err suc var db this var params arguments var..
Access pre-populate SQL Lite DB in Phonegap http://stackoverflow.com/questions/9061112/access-pre-populate-sql-lite-db-in-phonegap alert 'DB Error ' error.message ' Code ' error.code ' ' db.transaction function tx tx.executeSql 'SELECT street numbers FROM streets'..
|