Answer the question
In order to leave comments, you need to log in
How to competently update a large database on a mobile client?
Good afternoon,
Imagine that, for example, we are creating a mobile client for an online store and we need to be able to view products, filter, search, etc. on the mobile client. offline, that is, for this we need to store the database locally on the client, on iOS it will be CoreData / Realm / SQLite, how to update the data correctly?
So far, this option comes to mind: send the client a list of product IDs that need to be updated/deleted/inserted.
{
update: ["id1", "id2"],
delete: ["id3", "id4"],
insert: ["id5", "id6", "id7"]
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question