Comments on: Introducing Web SQL Databases https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/ helping you implement HTML5 today Mon, 21 Nov 2016 09:42:40 +0000 hourly 1 By: Alin https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-1568304 Thu, 12 Feb 2015 11:50:23 +0000 http://html5doctor.com/?p=1408#comment-1568304 Where the SQLite database ‘mydb’ will be stored? How can I get the database as a file? I wanted to get data from SQLite database such as ‘databaseName.db’. Plz help me about that.

]]>
By: mohsen https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-98661 Mon, 07 Jul 2014 19:17:17 +0000 http://html5doctor.com/?p=1408#comment-98661 Hello,
I am a beginner of HTML5.
Can we convert HTML5 web SQL databae to a SQL server or access database?

Thank you,
Mohsen

]]>
By: Just.a.guy https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-47036 Wed, 05 Feb 2014 01:59:08 +0000 http://html5doctor.com/?p=1408#comment-47036 I just finished reading my first intro article about indexedDB.
I find the indexedDB interface way too complicated.
I realize the need for callback. It seems its goal is to
embed all of the async work in the DOM agen.

For me, this coding effort could have been handled
more synchronously in a web worker thread, and
then passed back to the DOM agent through its
message call back.

I find the Web SQL interface more reasonable.
Yet the Web SQL interface is deprecated!!

What a shame.

]]>
By: Keerthi Kumar https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-43896 Sat, 28 Dec 2013 04:53:12 +0000 http://html5doctor.com/?p=1408#comment-43896 how to save the sql datbase tables values in indexed db using html 5

Hi html 5 experts

On load of a html5 page i wanted to fetch the values from sql database table
and have to store in indexeddb in html5 (totally ofline operation )
On submit button click i wanted to save using database connection(online operation)

ex: I have to database tables district and taluk
Now On Load am loading district and after selecting district once again am sending request to
server and fetching taluk it is taking to much time to avoid this am using this approach
but am new to this concept can any one please help me to solve this issue?

thanks in advance
(Keerthi Kumar)

]]>
By: Umesh https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-37794 Wed, 04 Sep 2013 15:44:41 +0000 http://html5doctor.com/?p=1408#comment-37794 hi,
I’m using sqlite database with phonegap.
i have a problem about the foreign keys.

‘PRAGMA foreign_keys = ON;’

that.db.transaction(function(tx) {
that.db.executeSql(‘PRAGMA foreign_keys = ON’);

}

also tx.executeSql(‘PRAGMA foreign_keys = ON’); gives me error processing sql.

can any one help me out???

]]>
By: A Comprehensive Guide to Taking your HTML5 Game Offline | HTML5 Gamer https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-37440 Sat, 17 Aug 2013 15:40:28 +0000 http://html5doctor.com/?p=1408#comment-37440 […] next API is the Web SQL Database. The Web SQL Database is a client-side database that allows you to store information to the client in much the same way […]

]]>
By: bardu https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-35084 Thu, 13 Jun 2013 23:48:26 +0000 http://html5doctor.com/?p=1408#comment-35084 I’m not used to WebSQL nor SQLite, however, we have a use case where we need to download a SQLite DB to an Android tablet and fetch data via JavaScript.

Will we able to open this downloaded DB via openDatabase(..) or must the DB created by WebSQL?

Thanks in advance.

Stephan

]]>
By: nery https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-34718 Wed, 29 May 2013 16:38:26 +0000 http://html5doctor.com/?p=1408#comment-34718 db.transaction(function (tx) {
tx.executeSql(‘PRAGMA foreign_keys = ON’);
});

]]>
By: nery https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-34717 Wed, 29 May 2013 16:29:02 +0000 http://html5doctor.com/?p=1408#comment-34717 hi,
I’m starting to use the database of chrome but i have a problem about the foreign keys, these are not actives.
i readed a sqlite documentation and i need execute this command
“PRAGMA foreign_keys = boolean;”
but i dont know how do it in javascript. i tried use your function

var db = openDatabase(‘mydb’, ‘1.0’, ‘my first database’, 2 * 1024 * 1024);
db.transaction(function (tx) {
tx.executeSql(‘PRAGMA foreign_keys = boolean’);
});

but didn’t work…

can you helpme please??

thankyou.

]]>
By: Tobe https://stevefaulkner.github.io/html5doctored/introducing-web-sql-databases/#comment-31843 Sat, 02 Mar 2013 20:44:55 +0000 http://html5doctor.com/?p=1408#comment-31843 Thank you, this helped me a lot. i’m new to javascript and i usually rely heavily on code like the ones here on my projects to give me a little bit of guidance

]]>