Ok I feel like I do this just about every couple of weeks, but here I go documenting MongoDB GORM since the authors just don't see it as important.
So $all is not supported. An alternative query is the following:
Photo.findAll {
and {
tagList.each { tag ->
eq( 'tags', tag )
}
}
}
You can't use ==, but I don't have an explanation for that. I think I remember reading something about the each closure interfering, but I can't find it or remember where I saw it. Anyway you have to use eq() method.