문제

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.

When i look for product ID, i am able to display them individually. def cart = u.Mycart println cart[0]

It is an array list. how can i get all elements together and query that list in MySQL?

도움이 되었습니까?

해결책

Looks like a good fit for getAll, if productId is the identifier.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top