Support Topics Documentation Slack YouTube Blog

Relations and Duplicates

I am using BackEndless as a service for a Mobile that I am making. I have two tables. One is called UserLog, and the other is let’s say is B. There is a one to many relation from UserLog to B. Now I have two users on separate devices. How can I point the 2 distinct users in UserLog to point to the same record in B, without making any duplicates?

Thanks,

Michael Iverson

Hi Michael,

Welcome to our forum!

I assume the relation column is declared in the UserLog table. When you establish a relationship between a UserLog object and an object from B, simply use the same objectid for that B object which will be the child.

Regards,
Mark