Используя
openSavedForm() {
this.storage.get('test').then((val) => {
this.auditResults = JSON.parse(val);
this.audit = this.auditResults
this.auditOne = this.auditResults.siteVehicle;
console.log('pull all', this.audit);
});
}
Я могу просмотреть свои сохраненные элементы пары ключ-значение в sqlite. Вот фото из console.log
Возможно ли обновить только массив сайтов с помощью
async saveFormUpdates() {
this.newAudit =this.auditOne;
await this.storage.set( 'test', JSON.stringify(this.newAudit));
console.log ("storage", this.newAudit);
}
без удаления всех других массивов?