/** * Creates a subquery criterion that ensures the given property is equal to all the given returned values * * @param propertyName The property name * @param propertyValue The property value * @return A Criterion instance */ public org.grails.datastore.mapping.query.api.Criteria eqAll(String propertyName, @SuppressWarnings("rawtypes") QueryableCriteria propertyValue) { addToCriteria(Property.forName(propertyName).eqAll(getHibernateDetachedCriteria(propertyValue))); return this; }
/** * Creates a subquery criterion that ensures the given property is equal to all the given returned values * * @param propertyName The property name * @param propertyValue The property value * @return A Criterion instance */ public org.grails.datastore.mapping.query.api.Criteria eqAll(String propertyName, @SuppressWarnings("rawtypes") QueryableCriteria propertyValue) { addToCriteria(Property.forName(propertyName).eqAll(convertToHibernateCriteria(propertyValue))); return this; }