I have 2 tables, “orders” and “clients”, in the first one there is a relational column named “client” with the second table, I am using this code to get the objectId of client in the “orders”:
var reserveOrdersFound=await Backendless.Data.of( “orders” ).find(queryBuilder);
await Backendless.Data.of( “clients” ).findById(reserveOrdersFound.client.objectId);
NOTE: “reserveOrdersFound.client” returns the client for me.
So I want to know how to get this objectId in the second line and why this is not working?