Skip to main content

Questions tagged [web-sql]

Web SQL Database is a SQL-based API allowing a web pages to store and retrieve structured data locally. It is based on, but not the same as SQLite.

0 votes
1 answer
36 views

View data web sql from old application in current browsers

I have a relatively old application developed in Angular, the problem is that it works with Web SQL and, as you know, current browsers do not support it. For my bad luck, I have to check certain ...
Wilmer's user avatar
  • 63
0 votes
1 answer
53 views

Will Websql stop for already built Electronjs Application as the Websql will stop next year or it will keep working

Really appreciate your support I Built a couple of ElectronJs Apps that use Websql (they already working), I recently learnt that Websql will stop completely next year, my question is -will this Apps ...
Jalyn's user avatar
  • 21
0 votes
1 answer
2k views

W3schools.com - features don't work in latest Chrome version

I am using w3schools for teaching SQL to my students. We tried the "insert into" command in the SQL editor with some of the examples from the SQL tutorial and get this error message: Error ...
Jill McKeon-Vitelli's user avatar
1 vote
1 answer
44 views

Get a list of Web SQL databases

I'm using WebSQL on my site (I'm trying to transition off of it). But, there are a bunch of different WebSQL databases on my site, each created with a different openDatabase database name. My question ...
Dan Fabulich's user avatar
  • 38.9k
0 votes
0 answers
20 views

WebSQL table data not shown in JQuery on page ready

I have a page + script to create a WebSQL database with tables and to populate them with data. On a second page, I try to access the data but it's not there when the page is loading. $(document).ready(...
Hussain Akbar's user avatar
0 votes
1 answer
2k views

Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in non-secure contexts

Error: Unknown error SecurityError: Failed to execute 'openDatabase' on 'Window': Access to the WebDatabase API is denied in non-secure contexts.. Code javascript: window.openDatabase('teste.db', '1.0'...
WilyWork's user avatar
0 votes
1 answer
62 views

Can ydn-db be used as a direct WebSQL polyfill

I am building a webkit-based browser and want to provide a polyfill for WebSQL. I found ydn-db but if I inject the polyfill into the webpage, will it just work automatically? Meaning, when WebSQL ...
Moe Bazzi's user avatar
0 votes
0 answers
65 views

Synchronous vuejs2 websql

Really appreciate your support, My Code Start by Triggering Insert Data function Which run a websql Insert query , then after the data is inserted, i need a to retrieve data using Getdata function to ...
Jalyn's user avatar
  • 21
-1 votes
1 answer
68 views

Is it possible to get a variable or localStorage value to insert in a Web SQL code?

I've created just a simple code to simulate a virtual store with HTML, Web SQL & Javascript language and my question is: Is it possible to get a variable or localStorage value to insert in a Web ...
Maurilio_Junior's user avatar
0 votes
0 answers
34 views

Meaning of WebSql query

I'm working on port code from WebSQL to IndexedDb. I'm stuck in the following query, SELECT ad.* FROM AdminUserDetails as ad inner join CustomerDetails pd on pd.CaseManagerId=ad.AdminUserId or pd....
Rajendra's user avatar
  • 153
0 votes
1 answer
660 views

Ionic/Angular page not update

I use Ionic 5 and angular .My page bind to an object((Person)).when I select data from websql my object is update but page is not update until I click menu or other control //this code is in my ...
hasan's user avatar
  • 155
0 votes
2 answers
1k views

SQLite Create Table Query does not create a table

This simple sqlite query: CREATE TABLE customers ( id INT(255) NOT NULL AUTO_INCREMENT, name VARCHAR(255), email VARCHAR(255), password VARCHAR(255), PRIMARY KEY (id) ); is ...
Gyan Masih's user avatar
0 votes
0 answers
49 views

Change path for websql database and access it from a different location on the server (JavaScript)

I am running apache on ubuntu linux, and I would like to be able for my website to access the websql database. How might I access it from the same Javascript in two webpages (Namely get data from ...
Arc Official's user avatar
0 votes
1 answer
22 views

Scope of variable in WebSQL

I have this function const _getCountriesByContinentCode = continent_code => { const someDb = SQLite.openDatabase(db); let foo = []; someDb.transaction(tx => { tx.executeSql(&...
four-eyes's user avatar
  • 11.9k
1 vote
1 answer
104 views

How to download a file on android (Apache Cordova)?

I have created a "backup system", to copy all the table records from a sqlite database, where I take those records and create a .json file. The download in browsers works perfectly, but on ...
Comentarista's user avatar

15 30 50 per page
1
2 3 4 5
58