Questions tagged as 'websql'

0
answers

Add 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 Add (+) or Diminuir (-) go showing the quantity in (+) or (-) and when clicking on "Continue Ordering" items listed in a WebSQL (LocalStorage) and move on to the next screen. My...
asked by 27.08.2016 / 19:52
0
answers

WebSQL, MongoDB or Sqlite3, advantages / disadvantages of each when using Phonegap? [closed]

Considering the use in Phonegap what are the advantages / disadvantages of each.     
asked by 05.02.2015 / 12:56
1
answer

Where is the WebSql database saved in Chrome?

I would like to know the directory of the databases made in WebSql, that is, where I can find the database file. Thank you.     
asked by 21.02.2017 / 16:24
1
answer

How to insert a dataset from an array in WEBSQL with Ionic?

I want to insert a dataset into a local table (WEBSQL). The way I'm doing just inserts the last set of array, I wanted to store all the objects. To create my WEBSql I created this JS: (function(){ "use strict"; angular.module("nhaac...
asked by 07.09.2016 / 20:44
1
answer

Building the name of a function and executing it

I have an object that is made up of several functions. these functions are names of tables that, from an earlier treatment I have to execute them. The idea of the code is, if a table does not exist, execute such a function that will create it ba...
asked by 10.11.2014 / 18:39
0
answers

Web SQL compare two dates

I want to know how I can make this comparison, that it read the y dates that are stored in the database and compare them with data x, and then show only the line that fit into that comparison ... texto.executeSql('select * from schedule ORDER...
asked by 26.04.2018 / 14:46
1
answer

Select values from another table with more than one row in WebSQL

I'm using Ionic + Cordova + WebSql. I have basically these tables, partners and partnerEnderecos. The address table can contain more than one row for each partner. How do I return these values? I create the tables like this: databaseValues....
asked by 22.09.2017 / 17:38
0
answers

SELECT FROM table compare values and insert or change

I would like to compare information coming from PHP Json and persist it in the WEBSQL. There is a moment when I should know if the information coming from Mysql: Already registered Altered Not cadatrada Below is the javascript that I would...
asked by 19.01.2016 / 20:35
1
answer

Get values from WebSQL when loading page through Javascript

When I load the same page as the getChamadasFromDay () function starting after loading, the variables total_time and total_calls continue to be zero. note that the total_time variable and total_call variable are receiving values but for so...
asked by 10.07.2015 / 07:43
1
answer

Return query WebSQL as Array for a global variable

I am using a WebSQL database to save a usage license information in a PhoneGap application. At all times of the system I will need to access this information, so I intend to save this in a global variable in the form of an array. This license to...
asked by 11.11.2014 / 17:26