how to fetch array in whereClause

Hello

i’m trying to get BackendlessUser() object that satisfied the condition:

//ids is an array of String  : ["748179362185256962","3218789362185256962"]     
let whereClause = "ownerId = '\(ids)'"

in Parse I think we can use whereKey:matchesQuery:

so how to do it in Backendless ?

Hi,

You can use following query:

ownerId in ('748179362185256962','3218789362185256962')

or

ownerId = '748179362185256962' OR ownerId = '3218789362185256962'

Regards,

Denys

Is there any restriction on the amount of OR’s?