Hi, I wanted to know what is the correct way to update the array of objects
Array = [{_id: ‘12345’, name: ‘asdf’}, {_id: ‘567890’, name: ‘ghjkl’}]
Whenever I push/filter out object in it, the other gets empty
realm.write(() => {
Array.push({_id: ‘4567’, name: ‘abc’})
})