Questions tagged as 'indexeddb'

0
answers

ServiceWorker save form

I'm currently handling the fetch events in my ServiceWorker as follows: self.addEventListener('fetch', event => { // For 'POST' method if ( event.request.method !== 'GET' && event.request.method !== 'HEAD' &&...
asked by 04.08.2018 / 06:10
0
answers
0
answers

Insert indexeddb data into HTML by insertion order

I have a database that stores 3 fields that should be listed in html. function gerar_conteudo() { var transaction = db.transaction('TABELA_CITOLOGIA', "readonly"); var store = transaction.objectStore('TABELA_CITOLOGIA'); var request = store...
asked by 31.03.2018 / 16:26
0
answers

Searching using the key

I have a table that key is as autoIncrement , I need to search and pick up the line that identifies the code I pass. When I search for another part of the field it works perfect. The search I'm using: var bd = db.transaction("t...
asked by 05.10.2015 / 22:17