Assign a non relational column

Hey,

In my Client table I have a non relational column named ownerId, how can I assign it the same value as objectId in the User table?

Hello @Hassan_Serhan,

You can assign the ownerId property just like the other ones, e.g.

Backendless.Data.of( "TABLE-NAME" ).save( { propertyA: "SOME VALUE", ownerId: "OWNER ID VALUE" } )
.then( function( savedObject ) {
})
.catch( function( error ) {
});

Regards,
Olha

1 Like