I have the following user API from Strapi cms to which I want to deep fetch the address component(repeatable component).
So, what I want to fetch is the user whose address is 63 Southlands Road
… I tried so many ways:
-
tried the Strapi built-in query
http://localhost:1337/users?address.info=63%20Southlands%20Road
-
tried the custom query:
const result = await strapi
.query("user")
.model.query((qb) => {
qb.where("address.info", "63 Southlands Road");
})
.fetch();
All these above messages didn’t work out and I run out of options. Is this possible in Strapi… if not I am trying to switch to node server.
If any please help me out here… Thanks in advance!