I’m trying to keep the table always ordered according to a certain field.
The logic I could come up with is as follows -
Since the table is always sorted according to the last created time, whenever a new login is there, I will delete the old instance of the user and create a new chat user.
Will this work when there will be a lot of users? And is there an easier way to implement this logic.
That makes no sense to me. You can retrieve data using API sorted by any field:
https://backendless.com/feature-47-loading-data-objects-from-server-with-sorting/
Regards,
Mark
Thanks a lot.