Most voted "websql" questions
Websql is an API designed to support an efficient form of storage and handling of data as an SQL database on the client side, through the browser. However due to specification limitations it was abandoned by W3C which is today working with a solution called Indexeddb.
Learn more…20 questions
Sort by count of
-
5
votes2
answers388
viewsWill Websql really be discontinued?
I’m having a lot of problems trying to run a program developed in HTML 5, Javascript, Ajax, JSON, Indexeddb, Mysql, PHP, along with the Intel XDK IDE. The program is quite simple it captures…
-
4
votes3
answers403
viewsWhat is the benefit of working with webSql?
I was reading about webSql and I came up with this question, what is the advantage of working with webSql since it runs client-side?
-
4
votes2
answers2474
viewsGet values from within a function that is within another function
I am developing a small Javascript application that makes use of Web SQL. I want to create a function that returns the value of a variable in the VARIABLES table, as well as its observation. It…
-
2
votes1
answer451
viewsWeb Sql - Make select from ID
I’m trying to make a select from a ID who will be caught in the value of a option, I did a search on the net and saw that they put this inside a function, but when I put the function, the variable…
-
2
votes1
answer123
viewsStart Development App Result Board Games
I want to develop a android platform app who manages the scoreboard of board games between my friends. I know almost nothing about android, and I need to start. One of my questions is how to save…
-
1
votes0
answers174
viewsWebsql, Mongodb or Sqlite3, advantages/disadvantages of each when used with Phonegap?
Considering the use in Phonegap what are the advantages/disadvantages of each.
-
1
votes1
answer485
viewsIs Websql the only local storage form in phonegap/Ordova?
Outside the database created by "browser", what other forms of data persistence we have on android with phonegap?
-
1
votes1
answer263
viewsI want to use Web sql but I’m not able to create table or insert information in it
let db = openDatabase('produto_teste','1.0','banco de dados para cadastro do produto',2*1024*1024); db.transaction(function(tx){ tx.executeSql('CREATE TABLE IF NOT referencia(\ id INTEGER NOT NULL…
-
1
votes1
answer1043
viewsExtract objects in Ionic
I’m trying to get the selected data from a Checkbox in the Ionic. My View is like with the CheckBox: <ion-view view-title="Comprar Bebidas Adicionais" hide-nav-bar="false"> <div class="bar…
-
1
votes0
answers198
viewsAdd items to the local database as you select from the list
I want to make a list of products and as the person is clicking on Add (+) or Decrease (-) go showing the quantity in (+) or (-) and when clicking on "Continue Ordering" Register all items listed on…
-
1
votes1
answer1345
viewsHow to add or remove amount of items in an Ionic List
I am trying to add and remove quantity in a list of products, as shown in the image: This is the view of this screen: <ion-view view-title="Comprar Bebidas Adicionais" hide-nav-bar="false" >…
-
1
votes2
answers1391
viewsHow to pick up and store an array of data only if Quantity > 0 in Ionic or Angular?
I would like when clicking the "Continue Ordering" button to pick up only the items with Quantity > 0, store in an array of new objects. My View: <ion-view view-title="Comprar Bebidas…
-
0
votes1
answer87
viewsBuilding a function name and executing it
I have an object that is formed by various functions. these functions are table names that from a previous treatment I have to run them. The idea of the code is, if a table does not exist, perform…
-
0
votes1
answer752
viewsWhere are Websql databases saved in Chrome?
I wonder what is the directory of the databases made in Websql, IE, where I can find the database file. Thank you.
-
0
votes1
answer44
viewsGet Websql values when loading the page through Javascript
When I load the page even the function getChamadasFromDay() starting after loading the variables total_time and total_calls continue with the value zero. note that the variable total_time and total…
-
0
votes0
answers159
viewsSELECT FROM table compare values and insert or change
I would like to compare information coming from PHP Json and persist in WEBSQL. Have a moment I should know if the information coming from Mysql: Has already been registered Amended Unexciting Below…
-
0
votes1
answer557
viewsHow to insert a data set of an array into the WEBSQL with Ionic?
I want to insert a data set in a local table (WEBSQL). The way I’m doing just inserts the last array set, wanted to store all objects. To create my Websql I created this JS: (function(){ "use…
-
0
votes1
answer450
viewsRecover variable within JS function
I’m logging into JS + Websql, but I’m having a hard time getting the value of the variable. What am I doing wrong? function login() { db.transaction(function (tx) { tx.executeSql('SELECT * FROM…
-
0
votes1
answer43
viewsSelect values from another table with more than one row in Websql
I’m using Ionic + Ordova + Websql. I have basically these tables, partners and partiesEnderecos. In the address table can contain more than one row for each partner. How do I return these values? I…
-
-1
votes1
answer316
viewsReturn Websql query as Array for a global variable
I am using a Websql database to save usage license information in a Phonegap application. At any time of the system I will need to access this information, so I intend to save this into a global…