Message:

Subscribe rss
Blog categories
All | Backendless features
Feature 55: Registering/Updating a user with related data object(s)
March 3, 2015 by markpiller
Spread the love

When you register (or update) a user object, you may need to create a relation between the user and some other entity/object stored in Backendless. Since a user object is structurally a collection of properties, it is very easy to relate an object stored in Backendless with a user. The code below shows how to register a user with a related object referenced through the “address” property:

 Asynchronous sample (Android and Plain Java):

Synchronous sample (Plain Java only):

Synchronous sample:

Asynchronous sample:

Synchronous sample:

Asynchronous sample:

Once you run the code above, the Users table shows the registered user and a link to the related Address object:
user with relation - Feature 55: Registering/Updating a user with related data object(s)

 

Share this post
Tweet about this on TwitterShare on FacebookGoogle+