Hi All,
I have Company model, which has field Category as “Has many relation”. I want to get for each category, how many companies had that category?
I’m using postgres as DB.
How can I get that statistical data?
Regards,
Gegham
Hi All,
I have Company model, which has field Category as “Has many relation”. I want to get for each category, how many companies had that category?
I’m using postgres as DB.
How can I get that statistical data?
Regards,
Gegham