How could we implement "in" query in custom controller

Hi @basavarajdodamani

You should be able to do this in a controller using the service strapi.services.somemodel.find({ in: [1,2,3] }) (given I’m using SQL ids here, but you should be able to swap this out for mongo ObjectIDs)

1 Like