Update collection with deeply nested components

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hi, I am facing issue while trying to update deeply nested components using strapi.db.query().update. Using raw queries to update this is making the logic complicated as we have multiple collection types to be updated for specific functionality. Is there any way we use strapi.db.query.update to update the deeply nested component based on a collection field??