Can I have select inside of populate?

Turns out, I just had to nest it like so:

strapi.db.query('api::time-availability.time-availability').findMany({
    populate: {
        mentorId: {
            select: ['firstName', 'lastName']
        }
    }
});
3 Likes