Overview
The following article introduces how to filter results by deeply nested fields.

How to Filter Results on Deeply-Nested fields in Strapi
Learn about different ways to deeply filter results using Strapi
As described above, by preparing the content types and fields, I was able to obtain the intended results.
Notes
As mentioned in the comments of the above article, the text contains "" characters, but these appear to be unnecessary.
- Incorrect
GET /api/books?filters\[authors\][hobby][$contains]=dance
By using the query without "" as follows, the intended results were obtained.
- Correct
GET /api/books?filters[authors][hobby][$contains]=dance
Summary
I hope this serves as a helpful reference.




Comments
โฆ