query WHERE IN array

I have an array of user ids. in javascript (custom business logic event), I need to run a query to fetch all the users with an id matching one id within the array. Is there a way to do this with a single query?

Any update on this? Do I need to clarify more what I am asking?

The whereClause for this would look like this:

objectId in (‘value1’, ‘value2’, and so on )

works perfectly, thank you.