I want to make a request using array of ids thought “in” operator, which is described in the documentation (https://docs.journeyapps.com/reference/get-started/journeyapps-fundamentals/accessing-the-database/querying-db-objects). Like this (ids is an array with ids):
DB.company.where('id in ?', ids).orderBy('name')
But I receive an alert with an error (Expected one of [“>=”,…,“starts-with”,“contains”]). And there is no “in” operation among those.
Please help me to understand there is the problem. Thank you!