Db.query.findMany() where populate != null

Hey @PepeMax, a minor change required for your query.

I suggest you to use the below query for accurate results.

const query = await strapi.db.query("api::appel.appel").findMany({
  where: {
    $not: {
      espace: null,
    }
  },
  populate: {
    espace: {
      where: {
        numero: 10
        // numero: { $eq: 10 } Other way to use where query for the above
      }
    },
    file: {
      select: ['name', 'url']
    }
  },
});