i have three models called review,charge and card.in controller review model is being used so based on that model i want to fetch card model data(in this case it's name), can you please help me to achieve this thing..
I am using APIATO framework for developing APIS ,in that i have one array fieldSearchable
(Ref:- http://apiato.io/docs/9.x/core-features/search-query-parameter/) which is responsible for searching there i want to use cardCharge.name
to fetch the name of a cards table but it's not working please help me to achieve this thing