Hi,
I want to get multiple objects from a table, I know all object Id from each one, I tried to use findById but I only get one of them
Backendless.Data.of(“Users”).findById({objectId:[‘xxxxx’,‘yyyyyyy’]});
Thanks
Hi,
I want to get multiple objects from a table, I know all object Id from each one, I tried to use findById but I only get one of them
Backendless.Data.of(“Users”).findById({objectId:[‘xxxxx’,‘yyyyyyy’]});
Thanks
Hi Dario,
You’re correct, the findById
will return only one object with the specified objectId
value. To get multiple objects you need to use the find
method with a query that may look like this:
objectId in ('objectIdValue', 'objectIdValue2', 'objectIdValue3')
Regards,
Mark
Great,
Thanks a lot!