Tag: groovy grails

Count Records From A hasMany Relationship In Grails

July 9, 2014 Nic Raboy

Recently I was tasked with trying to determine a distinct count between two tables with a many-to-many and one-to-many relationship. More specifically I needed to find out how many users were signing into the system on any given day. This is not to be confused with how many logins a particular user had for any given day.

Read More