I was trying to figure out how to do something like
SELECT * FROM domain WHERE config_id IN (1, 2, 3)
using the good findByGrails method . In fact, did not understand how this is possible? I was hoping for something like
Domain.findByConfigIn(configList)
but that will not work. Does anyone know how to do this, or even if it is possible?
source
share