How to update a table using a key(not primary id key)?
I have a customer table and I am getting customer data which are updated or created. So, for newly created data I am using insertOrReplace method which is inserting the data using the object.
But for updating a row, as per my knowledge I have to get the row using the key I have and then update the row. Is it not possible to do it without getting the row as that will require two operations for each such row.