Is there an option when using entity service or strapi db to disable lifecycles?

System Information
  • 4.5.6:
  • Windows:
  • mysql:
  • 16.14.0:
  • 8.3.1:
  • 1.22.19:

I created a lifecycle hooks “afterUpdate” on “project” collection type , and in this lifecycle I am using strapi entityService to execute updating query on the same collection type “project” , and this is causing and infinite loop of course , so Is there any way to perform a query without triggering specific lifecycle or without triggering the lifecycles at all using this query ?

1 Like