Custom Table related with Users table, returns all Users fields

Hello @Dario_Castaneda

To transform relations/child collections you need to use a afterFind EventHandler and transform the result there

https://backendless.com/docs/bl-js/bl_event_handlers.html

Backendless.ServerCode.Persistence.afterFind('Persons', function(req, res) {
  return res.result.map(person => {
    if(person.orders){
       person.orders = person.orders.map(order => {
         return { objectId: order.objectId }
       })
    }
    
    return person
  })
});

the result you can check in the REST Console

According to load all the object ids, you can load no more than 100 related object for each parent in a single API call, but I believe 100 children should enough

Also, I would recommend you to use custom API Services and inside the service use the loadRelations API

Regards, Vlad