patstrz
05/15/2017, 5:04 PMPost type ( 1 Post - many Users) I am thinking of adding or removing User relations when users toggle the like button, manually counting likes in a likesCount field ( +1 every time user relation added, -1 when removed) is there more elegant way of approaching this. Is there a way to obtain a count without manually doing it?