¿Es posible obtener todos los nombres de columna de indexeddb? o ¿cómo puedo mapear los resultados que provienen de indexeddb y agregarlos al objeto?
var data = new FormData(); var myDB = window.indexedDB.open("myDb"); myDB.onsuccess = function () { this.result.transaction("myTable").objectStore("myTable").getAll().onsuccess = function (event) { var result = event.target.result; $.each(result, function (i, tableData) { // I would like to map all column data and append to an object data.append("colName","ColValue"); // I would like the column name to be dynamic here instead of hardcode like say if I have column name like Name, Address I would like to append to object. }); }Así es como se ven mis datos de muestra en indexeddb