title: How to display “where value is in dynamic list” in HQL/GORM? (MongoDB)
body: <p>I am using MongoDB with GORM.
  In the shopping cart, i have stored product id in MongoDB and want corresponding product details which are stored in MySQL.</p>
  
  <p>When i look for product ID, i am able to display them individually.
  def cart = u.Mycart
  println cart[0]</p>
  
  <p>It is an array list.
  how can i get all elements together and query that list in MySQL?</p>