i have a belongsToMany relation ship setup to my user model called groups which has tables groups and assigned groups. all this works fine but i have now built a export feature so i can export users to mail chimp. However i can't seem to pull the groups that the user is assigned to onto my cvs export.
do i need to do something in the exportData function.
exportData($columns, $sessionKey = null)
any advise would be great!
Last updated